summaryrefslogtreecommitdiffstats
path: root/src/file_ace.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2009-01-22 19:06:11 +0100
committerChristophe Grenier <grenier@cgsecurity.org>2009-01-22 19:06:11 +0100
commitd04321d68a48d402c164a7b9f9ccee676b87a68d (patch)
tree891aa5417d36f2e0ee26f5b5f19e422386ae444d /src/file_ace.c
parent4aedccda8b0f5abda323556d4bba6856d97bc655 (diff)
PhotoRec: identified some constants as is
Diffstat (limited to 'src/file_ace.c')
-rw-r--r--src/file_ace.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/file_ace.c b/src/file_ace.c
index bb951f0..b2415d1 100644
--- a/src/file_ace.c
+++ b/src/file_ace.c
@@ -120,8 +120,8 @@ static void file_check_ace(file_recovery_t *file_recovery)
while (len>0)
{
- int count = ((len>BUF_SIZE) ? BUF_SIZE : len);
- int bytes = fread(buffer, 1, count, file_recovery->handle);
+ const int count = ((len>BUF_SIZE) ? BUF_SIZE : len);
+ const int bytes = fread(buffer, 1, count, file_recovery->handle);
if (bytes != count)
{