aboutsummaryrefslogtreecommitdiff
path: root/lobject.c
diff options
context:
space:
mode:
Diffstat (limited to 'lobject.c')
-rw-r--r--lobject.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lobject.c b/lobject.c
index c66a3b02..d1a63466 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 1.66 2001/02/22 17:15:18 roberto Exp roberto $ 2** $Id: lobject.c,v 1.67 2001/02/23 17:17:25 roberto Exp roberto $
3** Some generic functions over Lua objects 3** Some generic functions over Lua objects
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -35,9 +35,9 @@ int luaO_equalObj (const TObject *t1, const TObject *t2) {
35} 35}
36 36
37 37
38l_char *luaO_openspace (lua_State *L, size_t n) { 38void *luaO_openspaceaux (lua_State *L, size_t n) {
39 if (n > G(L)->Mbuffsize) { 39 if (n > G(L)->Mbuffsize) {
40 luaM_reallocvector(L, G(L)->Mbuffer, G(L)->Mbuffsize, n, l_char); 40 luaM_reallocvector(L, G(L)->Mbuffer, G(L)->Mbuffsize, n, lu_byte);
41 G(L)->Mbuffsize = n; 41 G(L)->Mbuffsize = n;
42 } 42 }
43 return G(L)->Mbuffer; 43 return G(L)->Mbuffer;