aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--undump.c6
1 files 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 @@
3** load bytecodes from files 3** load bytecodes from files
4*/ 4*/
5 5
6char* rcs_undump="$Id: undump.c,v 1.18 1996/11/14 13:33:15 lhf Exp lhf $"; 6char* rcs_undump="$Id: undump.c,v 1.19 1996/11/14 15:00:32 lhf Exp lhf $";
7 7
8#include <stdio.h> 8#include <stdio.h>
9#include <string.h> 9#include <string.h>
@@ -172,9 +172,9 @@ static int LoadSize(FILE* D)
172 return s; 172 return s;
173} 173}
174 174
175static char* LoadBlock(int size, FILE* D) 175static void* LoadBlock(int size, FILE* D)
176{ 176{
177 char* b=luaI_malloc(size); 177 void* b=luaI_malloc(size);
178 fread(b,size,1,D); 178 fread(b,size,1,D);
179 return b; 179 return b;
180} 180}