summaryrefslogtreecommitdiffstats
path: root/src/analyse.c
diff options
context:
space:
mode:
authorChristophe Grenier <grenier@cgsecurity.org>2008-06-23 19:28:58 +0200
committerChristophe Grenier <grenier@cgsecurity.org>2008-06-23 19:28:58 +0200
commitb849a82750086bdddd127c7d43dd0a7381b3c28e (patch)
treeb7d0fd90e7e93e34455f0c582b2193803bbce4e1 /src/analyse.c
parent50a0862d48da7f0260524b17c3b33281a1b5dcc7 (diff)
Make the code less C++ hostile
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 a59727c..346c76f 100644
--- a/src/analyse.c
+++ b/src/analyse.c
@@ -265,7 +265,7 @@ int search_type_128(unsigned char *buffer, disk_t *disk_car,partition_t *partiti
list_part_t *search_superblock(disk_t *disk_car, const partition_t *partition, const int verbose, const int dump_ind, const int interface)
{
- unsigned char *buffer=MALLOC(2*0x200);
+ unsigned char *buffer=(unsigned char *)MALLOC(2*0x200);
uint64_t hd_offset;
int nbr_sb=0;
list_part_t *list_part=NULL;