aboutsummaryrefslogtreecommitdiff
path: root/ltablib.c
diff options
context:
space:
mode:
authorPhilipp Janda <siffiejoe@gmx.net>2020-10-10 16:43:46 +0200
committerPhilipp Janda <siffiejoe@gmx.net>2020-10-10 16:43:46 +0200
commite245d3a18957e43ef902a59a72c8902e2e4435b9 (patch)
treeabfa4c390f13023f5959e29d6ec1b48b368fb1cf /ltablib.c
parent8186510a981fcc72685716f15f100838fa7d0b4b (diff)
downloadlua-compat-5.3-0.10.tar.gz
lua-compat-5.3-0.10.tar.bz2
lua-compat-5.3-0.10.zip
Fix bit32 conversion issues for Lua 5.1 on 32 bitv0.10
The default unsigned conversion procedure from upstream using `lua_Integer` as an intermediate value fails if `lua_Integer` has only 32 bits (as is the case on 32 bit Lua 5.1). This fix uses a `lua_Number` (hopefully double) as intermediate value in those cases.
Diffstat (limited to 'ltablib.c')
0 files changed, 0 insertions, 0 deletions