summaryrefslogtreecommitdiffstats
path: root/src/file_caf.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2013-05-26 09:21:30 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2013-05-26 09:21:30 +0200
commit8ab840414394e1e8454413485c578d75fd8ab68f (patch)
tree4d7cb333d48e5cd71bdcde328db0bff816d8f988 /src/file_caf.c
parent7ff26a5fcd838b0ac9d6a3a4e82f802d0b752d81 (diff)
Constify some variables
Diffstat (limited to 'src/file_caf.c')
-rw-r--r--src/file_caf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/file_caf.c b/src/file_caf.c
index 27e47c8..3d64a05 100644
--- a/src/file_caf.c
+++ b/src/file_caf.c
@@ -67,7 +67,7 @@ static int data_check_caf(const unsigned char *buffer, const unsigned int buffer
{
const unsigned int i=file_recovery->calculated_file_size - file_recovery->file_size + buffer_size/2;
const struct chunk_struct *chunk=(const struct chunk_struct*)&buffer[i];
- int64_t chunk_size=be64(chunk->size);
+ const int64_t chunk_size=be64(chunk->size);
#ifdef DEBUG_CAF
log_trace("file_caf.c: %s chunk %c%c%c%c (0x%02x%02x%02x%02x) size %llu, calculated_file_size %llu (0x%llx)\n",
file_recovery->filename,