summaryrefslogtreecommitdiffstats
path: root/src/phbf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2011-12-28 07:55:27 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2011-12-28 07:55:27 +0100
commit2558b79c76b1bfac135bdc6a71b6e1b1fd5dad2e (patch)
tree22cc2ee30a7713186b32a32d3a378b1bf196f155 /src/phbf.c
parentaedff08ddb01d4736d8e0917eada432a93e22a44 (diff)
blocs_to_skip is now unsigned
Diffstat (limited to 'src/phbf.c')
-rw-r--r--src/phbf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phbf.c b/src/phbf.c
index e055b8b..b68c37c 100644
--- a/src/phbf.c
+++ b/src/phbf.c
@@ -481,7 +481,7 @@ static int photorec_bf_frag_fast(struct ph_param *params, file_recovery_t *file_
const unsigned int blocksize=params->blocksize;
const uint64_t original_offset_error=file_recovery->offset_error;
const uint64_t original_offset_ok=file_recovery->offset_ok;
- const int blocs_to_skip=file_recovery->extra / blocksize;
+ const unsigned int blocs_to_skip=file_recovery->extra / blocksize;
unsigned int i;
log_info("photorec_bf_frag_fast %s, original_offset_ok=%llu, original_offset_error=%llu, blocs_to_skip=%d, extra=%llu\n",
file_recovery->filename,