summaryrefslogtreecommitdiffstats
path: root/src/phbs.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-12-14 19:34:03 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2013-12-14 19:34:03 +0100
commit033525929f40306c20cfc2daecd0e46839f894ed (patch)
treee4762c715d566d2f58f8415328ce26da6ea66f3d /src/phbs.c
parent27d23812ed09efc4b59209e66310aad6dc74b382 (diff)
constify the local variable old_offset
Diffstat (limited to 'src/phbs.c')
-rw-r--r--src/phbs.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phbs.c b/src/phbs.c
index 6bfe054..f121813 100644
--- a/src/phbs.c
+++ b/src/phbs.c
@@ -96,7 +96,7 @@ pstatus_t photorec_find_blocksize(struct ph_param *params, const struct ph_optio
params->disk->pread(params->disk, buffer, READ_SIZE, offset);
while(current_search_space!=list_search_space)
{
- uint64_t old_offset=offset;
+ const uint64_t old_offset=offset;
{
file_recovery_t file_recovery_new;
if(file_recovery.file_stat!=NULL &&