aboutsummaryrefslogtreecommitdiff
path: root/lbuiltin.c
diff options
context:
space:
mode:
Diffstat (limited to 'lbuiltin.c')
-rw-r--r--lbuiltin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lbuiltin.c b/lbuiltin.c
index 8bd20248..a10ce99e 100644
--- a/lbuiltin.c
+++ b/lbuiltin.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lbuiltin.c,v 1.99 2000/03/27 20:10:21 roberto Exp roberto $ 2** $Id: lbuiltin.c,v 1.100 2000/03/29 20:19: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*/
@@ -371,7 +371,7 @@ void luaB_next (lua_State *L) {
371 371
372 372
373void luaB_tostring (lua_State *L) { 373void luaB_tostring (lua_State *L) {
374 lua_Object o = lua_getparam(L, 1); 374 lua_Object o = luaL_nonnullarg(L, 1);
375 char buff[64]; 375 char buff[64];
376 switch (ttype(o)) { 376 switch (ttype(o)) {
377 case TAG_NUMBER: 377 case TAG_NUMBER: