diff options
-rw-r--r-- | src/lj_state.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lj_state.h b/src/lj_state.h index 4f6b0a37..75b8dc85 100644 --- a/src/lj_state.h +++ b/src/lj_state.h | |||
@@ -22,7 +22,7 @@ LJ_FUNC void LJ_FASTCALL lj_state_growstack1(lua_State *L); | |||
22 | static LJ_AINLINE void lj_state_checkstack(lua_State *L, MSize need) | 22 | static LJ_AINLINE void lj_state_checkstack(lua_State *L, MSize need) |
23 | { | 23 | { |
24 | if ((mref(L->maxstack, char) - (char *)L->top) <= | 24 | if ((mref(L->maxstack, char) - (char *)L->top) <= |
25 | need*(ptrdiff_t)sizeof(TValue)) | 25 | (ptrdiff_t)need*(ptrdiff_t)sizeof(TValue)) |
26 | lj_state_growstack(L, need); | 26 | lj_state_growstack(L, need); |
27 | } | 27 | } |
28 | 28 | ||