From 62aa717f7eb522e7674b01720ec3ba73f84ccb07 Mon Sep 17 00:00:00 2001 From: Luiz Henrique de Figueiredo Date: Sat, 16 Nov 1996 18:14:23 -0200 Subject: stdlib.h for exit blocks are void* --- undump.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/undump.c b/undump.c index 28c4ab7e..e32ec4e5 100644 --- a/undump.c +++ b/undump.c @@ -3,7 +3,7 @@ ** load bytecodes from files */ -char* rcs_undump="$Id: undump.c,v 1.18 1996/11/14 13:33:15 lhf Exp lhf $"; +char* rcs_undump="$Id: undump.c,v 1.19 1996/11/14 15:00:32 lhf Exp lhf $"; #include #include @@ -172,9 +172,9 @@ static int LoadSize(FILE* D) return s; } -static char* LoadBlock(int size, FILE* D) +static void* LoadBlock(int size, FILE* D) { - char* b=luaI_malloc(size); + void* b=luaI_malloc(size); fread(b,size,1,D); return b; } -- cgit v1.2.3-55-g6feb