aboutsummaryrefslogtreecommitdiff
path: root/ldo.c
diff options
context:
space:
mode:
Diffstat (limited to 'ldo.c')
-rw-r--r--ldo.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ldo.c b/ldo.c
index ceda04d9..92953d92 100644
--- a/ldo.c
+++ b/ldo.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: ldo.c,v 1.137 2001/07/12 19:34:03 roberto Exp roberto $ 2** $Id: ldo.c,v 1.138 2001/07/16 20:24:48 roberto Exp $
3** Stack and Call structure of Lua 3** Stack and Call structure of Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -176,7 +176,7 @@ struct CallS { /* data to `f_call' */
176}; 176};
177 177
178static void f_call (lua_State *L, void *ud) { 178static void f_call (lua_State *L, void *ud) {
179 struct CallS *c = (struct CallS *)ud; 179 struct CallS *c = cast(struct CallS *, ud);
180 luaD_call(L, c->func); 180 luaD_call(L, c->func);
181 if (c->nresults != LUA_MULTRET) 181 if (c->nresults != LUA_MULTRET)
182 luaD_adjusttop(L, c->func + c->nresults); 182 luaD_adjusttop(L, c->func + c->nresults);
@@ -207,7 +207,7 @@ struct SParser { /* data to `f_parser' */
207}; 207};
208 208
209static void f_parser (lua_State *L, void *ud) { 209static void f_parser (lua_State *L, void *ud) {
210 struct SParser *p = (struct SParser *)ud; 210 struct SParser *p = cast(struct SParser *, ud);
211 Proto *tf = p->bin ? luaU_undump(L, p->z) : luaY_parser(L, p->z); 211 Proto *tf = p->bin ? luaU_undump(L, p->z) : luaY_parser(L, p->z);
212 luaV_Lclosure(L, tf, 0); 212 luaV_Lclosure(L, tf, 0);
213} 213}