Closed yiyucyp closed 6 years ago
on android cell phone, the code can not get the right value, when the number is -1,
uint64_t v = (uint64_t)lua_tonumberx(L, idx, isint);
but the code can get the right value uint64_t v = (uint64_t)(int64_t)lua_tonumberx(L, idx, isint);
fixed by head :-)
on android cell phone, the code can not get the right value, when the number is -1,
uint64_t v = (uint64_t)lua_tonumberx(L, idx, isint);
but the code can get the right value uint64_t v = (uint64_t)(int64_t)lua_tonumberx(L, idx, isint);