Skip to content
Snippets Groups Projects
Commit 3a13be1d authored by Roman Tsisyk's avatar Roman Tsisyk
Browse files

lua: fix lua_tofield() for 2**64 value

exp2(64) <= UINT64_MAX is true due to type conversion.
Use exp2(64) instead of UINT64_MAX (optimized out even on -O0).

Fixes buggy box/indices_any_type.test.lua on x86_64

Closes #2472
parent 15a9af26
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment