diff options
author | Philipp Janda <siffiejoe@gmx.net> | 2020-10-10 16:43:46 +0200 |
---|---|---|
committer | Philipp Janda <siffiejoe@gmx.net> | 2020-10-10 16:43:46 +0200 |
commit | e245d3a18957e43ef902a59a72c8902e2e4435b9 (patch) | |
tree | abfa4c390f13023f5959e29d6ec1b48b368fb1cf /lstrlib.c | |
parent | 8186510a981fcc72685716f15f100838fa7d0b4b (diff) | |
download | lua-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 'lstrlib.c')
0 files changed, 0 insertions, 0 deletions