Skip to content

Commit fcbc99d

Browse files
committed
tests: fix lib-num
1 parent 495c304 commit fcbc99d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/lib-num/test.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ let eq_nativeint (i: nativeint) (j: nativeint) = (i = j);;
9191
let eq_int32 (i: int32) (j: int32) = (i = j);;
9292
let eq_int64 (i: int64) (j: int64) = (i = j);;
9393

94-
let sixtyfour = (1 lsl 31) <> 0;;
94+
let sixtyfour = Sys.word_size = 64;;
9595

9696
let rec gcd_int i1 i2 =
9797
if i2 = 0 then abs i1 else gcd_int i2 (i1 mod i2);;

0 commit comments

Comments
 (0)