We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 17f9032 commit 20d9509Copy full SHA for 20d9509
src_test/test_wire.ml
@@ -92,7 +92,7 @@ let test_encoder ctxt =
92
let test_overflow ctxt =
93
if Sys.word_size = 32 then
94
assert_raises Decoder.(Failure (Overflow ""))
95
- (fun () -> Decoder.int_of_int32 "" 0xffffffffl)
+ (fun () -> Decoder.int_of_int32 "" 0x7fffffffl)
96
else
97
assert_equal (-1) (Decoder.int_of_int32 "" 0xffffffffl);
98
0 commit comments