diff options
Diffstat (limited to 'src/lj_dispatch.c')
-rw-r--r-- | src/lj_dispatch.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_dispatch.c b/src/lj_dispatch.c index a8aa0731..0b14e21c 100644 --- a/src/lj_dispatch.c +++ b/src/lj_dispatch.c | |||
@@ -320,7 +320,7 @@ static void callhook(lua_State *L, int event, BCLine line) | |||
320 | ar.event = event; | 320 | ar.event = event; |
321 | ar.currentline = line; | 321 | ar.currentline = line; |
322 | /* Top frame, nextframe = NULL. */ | 322 | /* Top frame, nextframe = NULL. */ |
323 | ar.i_ci = cast_int((L->base-1) - tvref(L->stack)); | 323 | ar.i_ci = (int)((L->base-1) - tvref(L->stack)); |
324 | lj_state_checkstack(L, 1+LUA_MINSTACK); | 324 | lj_state_checkstack(L, 1+LUA_MINSTACK); |
325 | hook_enter(g); | 325 | hook_enter(g); |
326 | hookf(L, &ar); | 326 | hookf(L, &ar); |