aboutsummaryrefslogtreecommitdiff
path: root/lbitlib.c (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Fix bit32 conversion issues for Lua 5.1 on 32 bitv0.10Philipp Janda2020-10-101-2/+12
| | | | | | | 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.
* Add bit32 libraryPhilipp Janda2020-07-091-0/+233