mirror of
https://github.com/LuaJIT/LuaJIT.git
synced 2025-02-07 23:24:09 +00:00
Fix compiler warning.
This commit is contained in:
parent
4c50e36cee
commit
f333dfd17d
@ -22,7 +22,7 @@ LJ_FUNC void LJ_FASTCALL lj_state_growstack1(lua_State *L);
|
|||||||
static LJ_AINLINE void lj_state_checkstack(lua_State *L, MSize need)
|
static LJ_AINLINE void lj_state_checkstack(lua_State *L, MSize need)
|
||||||
{
|
{
|
||||||
if ((mref(L->maxstack, char) - (char *)L->top) <=
|
if ((mref(L->maxstack, char) - (char *)L->top) <=
|
||||||
need*(ptrdiff_t)sizeof(TValue))
|
(ptrdiff_t)need*(ptrdiff_t)sizeof(TValue))
|
||||||
lj_state_growstack(L, need);
|
lj_state_growstack(L, need);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user