From 3cccee885e1b8644490920eca3c372d5690c8eb7 Mon Sep 17 00:00:00 2001 From: jussi Date: Fri, 17 Jan 2025 13:11:03 +0200 Subject: Bitwise functions now use 64 bit integers. --- examples/resources/lib/utillib.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'examples') 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 -- cgit v1.2.3