summaryrefslogtreecommitdiffstats
path: root/src/analyse.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2020-06-19 22:05:38 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2020-06-19 22:05:38 +0200
commit90d21a4d8126553876d324bc0ffa24293e610550 (patch)
tree6c1fd70329c076ced15297ac3382c0d628b4ac7b /src/analyse.c
parent60b5424f53c3d8606b6d04f32340d6533d6c358f (diff)
Constify more function parametersHEADmaster
Diffstat (limited to 'src/analyse.c')
-rw-r--r--src/analyse.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/analyse.c b/src/analyse.c
index b121986..46cf036 100644
--- a/src/analyse.c
+++ b/src/analyse.c
@@ -220,7 +220,7 @@ int search_type_0(const unsigned char *buffer, disk_t *disk, partition_t *partit
return 0;
}
-int search_type_1(const unsigned char *buffer, disk_t *disk, partition_t *partition, const int verbose, const int dump_ind)
+int search_type_1(const unsigned char *buffer, const disk_t *disk, partition_t *partition, const int verbose, const int dump_ind)
{
const struct disklabel *bsd_header=(const struct disklabel *)(buffer+0x200);
const struct disk_super_block *beos_block=(const struct disk_super_block*)(buffer+0x200);