aboutsummaryrefslogtreecommitdiff
path: root/lbaselib.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbaselib.c')
-rw-r--r--lbaselib.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbaselib.c b/lbaselib.c
index 32fc8cb8..f494f8be 100644
--- a/lbaselib.c
+++ b/lbaselib.c
@@ -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
406static int luaB_tostring (lua_State *L) { 406static 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