diff options
Diffstat (limited to '')
-rw-r--r-- | ltm.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -261,7 +261,7 @@ void luaT_getvarargs (lua_State *L, CallInfo *ci, StkId where, int wanted) { | |||
261 | int nextra = ci->u.l.nextraargs; | 261 | int nextra = ci->u.l.nextraargs; |
262 | if (wanted < 0) { | 262 | if (wanted < 0) { |
263 | wanted = nextra; /* get all extra arguments available */ | 263 | wanted = nextra; /* get all extra arguments available */ |
264 | checkstackGCp(L, nextra, where); /* ensure stack space */ | 264 | checkstackp(L, nextra, where); /* ensure stack space */ |
265 | L->top.p = where + nextra; /* next instruction will need top */ | 265 | L->top.p = where + nextra; /* next instruction will need top */ |
266 | } | 266 | } |
267 | for (i = 0; i < wanted && i < nextra; i++) | 267 | for (i = 0; i < wanted && i < nextra; i++) |