diff options
author | Mike Pall <mike> | 2011-02-17 00:44:14 +0100 |
---|---|---|
committer | Mike Pall <mike> | 2011-02-17 00:44:14 +0100 |
commit | 03946ac978d9a1a3230619e3da048002e5fda2d1 (patch) | |
tree | c0a7b8edaccf789f128468320d451d9a1fee1495 /src/lj_dispatch.c | |
parent | 963f05c7e153714921484e0de71a7cb6bab338d9 (diff) | |
download | luajit-03946ac978d9a1a3230619e3da048002e5fda2d1.tar.gz luajit-03946ac978d9a1a3230619e3da048002e5fda2d1.tar.bz2 luajit-03946ac978d9a1a3230619e3da048002e5fda2d1.zip |
DUALNUM: Add integer type to core VM.
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); |