summaryrefslogtreecommitdiff
path: root/examples/resources/lib/utillib.lua
diff options
context:
space:
mode:
authorjussi2025-01-17 13:11:03 +0200
committerjussi2025-01-17 13:11:03 +0200
commit3cccee885e1b8644490920eca3c372d5690c8eb7 (patch)
tree53aaab0b493d6e50186b8dac5cf2ddcbc15f356c /examples/resources/lib/utillib.lua
parent6ddaea56a5b2181880da194f28d10c4710979c71 (diff)
downloadreilua-enhanced-3cccee885e1b8644490920eca3c372d5690c8eb7.tar.gz
reilua-enhanced-3cccee885e1b8644490920eca3c372d5690c8eb7.tar.bz2
reilua-enhanced-3cccee885e1b8644490920eca3c372d5690c8eb7.zip
Bitwise functions now use 64 bit integers.
Diffstat (limited to 'examples/resources/lib/utillib.lua')
-rw-r--r--examples/resources/lib/utillib.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/resources/lib/utillib.lua b/examples/resources/lib/utillib.lua
index 42a331c..79bbcb4 100644
--- a/examples/resources/lib/utillib.lua
+++ b/examples/resources/lib/utillib.lua
@@ -171,7 +171,7 @@ function utillib.randomFloat( min, max )
end
function utillib.printBin( v )
- for i = 31, 0, -1 do
+ for i = 63, 0, -1 do
if RL.BitGet( v, i ) then
io.write( "1" )
else