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 6b80c0ed..93dba050 100644
--- a/lobject.c
+++ b/lobject.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lobject.c,v 2.106 2015/06/26 19:32:07 roberto Exp roberto $ 2** $Id: lobject.c,v 2.107 2015/11/02 14:02:35 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*/
@@ -347,7 +347,7 @@ void luaO_tostring (lua_State *L, StkId obj) {
347 347
348static void pushstr (lua_State *L, const char *str, size_t l) { 348static void pushstr (lua_State *L, const char *str, size_t l) {
349 setsvalue2s(L, L->top, luaS_newlstr(L, str, l)); 349 setsvalue2s(L, L->top, luaS_newlstr(L, str, l));
350 incr_top(L); 350 luaD_inctop(L);
351} 351}
352 352
353 353
@@ -385,7 +385,7 @@ const char *luaO_pushvfstring (lua_State *L, const char *fmt, va_list argp) {
385 case 'f': { 385 case 'f': {
386 setfltvalue(L->top, cast_num(va_arg(argp, l_uacNumber))); 386 setfltvalue(L->top, cast_num(va_arg(argp, l_uacNumber)));
387 top2str: 387 top2str:
388 incr_top(L); 388 luaD_inctop(L);
389 luaO_tostring(L, L->top - 1); 389 luaO_tostring(L, L->top - 1);
390 break; 390 break;
391 } 391 }