diff options
Diffstat (limited to 'lbaselib.c')
-rw-r--r-- | lbaselib.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lbaselib.c,v 1.200 2007/10/25 19:31:05 roberto Exp roberto $ | 2 | ** $Id: lbaselib.c,v 1.201 2007/11/28 18:25:17 roberto Exp roberto $ |
3 | ** Basic library | 3 | ** Basic library |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -405,7 +405,7 @@ static int luaB_xpcall (lua_State *L) { | |||
405 | 405 | ||
406 | static int luaB_tostring (lua_State *L) { | 406 | static int luaB_tostring (lua_State *L) { |
407 | luaL_checkany(L, 1); | 407 | luaL_checkany(L, 1); |
408 | luaL_tostring(L, 1); | 408 | luaL_tolstring(L, 1, NULL); |
409 | return 1; | 409 | return 1; |
410 | } | 410 | } |
411 | 411 | ||