summaryrefslogtreecommitdiffstats
path: root/src/psearchn.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2018-03-17 17:29:28 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2018-03-17 17:29:28 +0100
commit09ecae700f224a23cfd8f63f98cebeccbe768cc0 (patch)
tree83fbfb551cc9330a02dfb6762e2c4b8e6015eecb /src/psearchn.c
parent331f0ef77e62140d0ee9252c33b23b383aa73084 (diff)
Use new functions check_command(), skip_comma_in_command() and get_int_from_command() to parse command line arguments
Diffstat (limited to 'src/psearchn.c')
-rw-r--r--src/psearchn.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/psearchn.c b/src/psearchn.c
index 562a707..553d050 100644
--- a/src/psearchn.c
+++ b/src/psearchn.c
@@ -115,7 +115,7 @@ pstatus_t photorec_aux(struct ph_param *params, const struct ph_options *options
{
pfstatus_t file_recovered=PFSTATUS_BAD;
uint64_t old_offset=offset;
- int res=DC_SCAN;
+ data_check_t res=DC_SCAN;
#ifdef DEBUG
log_debug("sector %llu\n",
(unsigned long long)((offset-params->partition->part_offset)/params->disk->sector_size));