summaryrefslogtreecommitdiffstats
path: root/src/filegen.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2020-06-19 18:13:01 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2020-06-19 19:02:41 +0200
commit60b5424f53c3d8606b6d04f32340d6533d6c358f (patch)
tree897e765e9527bba5b03ca0f69b837b4ed8b50835 /src/filegen.c
parent49cd8dbd9dcc04893c491f14672911e0a7dac824 (diff)
Constify a lot of function parameters
Diffstat (limited to 'src/filegen.c')
-rw-r--r--src/filegen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/filegen.c b/src/filegen.c
index 8e010f8..4952ee9 100644
--- a/src/filegen.c
+++ b/src/filegen.c
@@ -811,7 +811,7 @@ void header_ignored(const file_recovery_t *file_recovery_new)
offset_skipped_header=file_recovery_new->location.start;
}
-void get_prev_location_smart(alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset, const uint64_t prev_location)
+void get_prev_location_smart(const alloc_data_t *list_search_space, alloc_data_t **current_search_space, uint64_t *offset, const uint64_t prev_location)
{
alloc_data_t *file_space=*current_search_space;
if(offset_skipped_header==0)