diff options
Diffstat (limited to 'lbuiltin.c')
-rw-r--r-- | lbuiltin.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbuiltin.c,v 1.16 1997/12/11 17:21:11 roberto Exp roberto $ | 2 | ** $Id: lbuiltin.c,v 1.17 1997/12/15 16:17:20 roberto Exp roberto $ |
3 | ** Built-in functions | 3 | ** Built-in functions |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -131,7 +131,7 @@ static void internaldofile (void) | |||
131 | 131 | ||
132 | static char *to_string (lua_Object obj) | 132 | static char *to_string (lua_Object obj) |
133 | { | 133 | { |
134 | char *buff = luaM_buffer(30); | 134 | char *buff = luaL_openspace(30); |
135 | TObject *o = luaA_Address(obj); | 135 | TObject *o = luaA_Address(obj); |
136 | switch (ttype(o)) { | 136 | switch (ttype(o)) { |
137 | case LUA_T_NUMBER: case LUA_T_STRING: | 137 | case LUA_T_NUMBER: case LUA_T_STRING: |