diff options
Diffstat (limited to 'src/lj_ccallback.c')
-rw-r--r-- | src/lj_ccallback.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_ccallback.c b/src/lj_ccallback.c index b234ec67..bef379a5 100644 --- a/src/lj_ccallback.c +++ b/src/lj_ccallback.c | |||
@@ -432,7 +432,7 @@ static void callback_conv_args(CTState *cts, lua_State *L) | |||
432 | o->u32.hi = rid; /* Return type. x86: +(spadj<<16). */ | 432 | o->u32.hi = rid; /* Return type. x86: +(spadj<<16). */ |
433 | o++; | 433 | o++; |
434 | setframe_gc(o, obj2gco(fn)); | 434 | setframe_gc(o, obj2gco(fn)); |
435 | setframe_ftsz(o, (int)((char *)(o+1) - (char *)L->base) + FRAME_CONT); | 435 | setframe_ftsz(o, ((char *)(o+1) - (char *)L->base) + FRAME_CONT); |
436 | L->top = L->base = ++o; | 436 | L->top = L->base = ++o; |
437 | if (!ct) | 437 | if (!ct) |
438 | lj_err_caller(cts->L, LJ_ERR_FFI_BADCBACK); | 438 | lj_err_caller(cts->L, LJ_ERR_FFI_BADCBACK); |