Skip to content

Commit

Permalink
Add pointer to int casting of T->mcode in setintfield call
Browse files Browse the repository at this point in the history
  • Loading branch information
dpino committed Dec 8, 2015
1 parent adbb255 commit 782e9b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/luajit/src/lib_jit.c
Original file line number Diff line number Diff line change
Expand Up @@ -300,7 +300,7 @@ LJLIB_CF(jit_util_traceinfo)
setintfield(L, t, "link", T->link);
setintfield(L, t, "nexit", T->nsnap);
setintfield(L, t, "szmcode", T->szmcode);
setintfield(L, t, "mcode", T->mcode);
setintfield(L, t, "mcode", (int32_t)(intptr_t)T->mcode);
setintfield(L, t, "mcloop", T->mcloop);
setstrV(L, L->top++, lj_str_newz(L, jit_trlinkname[T->linktype]));
lua_setfield(L, -2, "linktype");
Expand Down

0 comments on commit 782e9b3

Please sign in to comment.