Skip to content

Commit 79a72c2

Browse files
committed
Fix marshaling of native integers
1 parent e641fbe commit 79a72c2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

runtime/wasm/int32.wat

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,7 +140,7 @@
140140
(call $caml_serialize_int_1 (local.get $s) (i32.const 1))
141141
(call $caml_serialize_int_4 (local.get $s)
142142
(struct.get $int32 1 (ref.cast (ref $int32) (local.get $v))))
143-
(tuple.make 2 (i32.const 4) (i32.const 4)))
143+
(tuple.make 2 (i32.const 4) (i32.const 8)))
144144

145145
(data $integer_too_large "input_value: native integer value too large")
146146

0 commit comments

Comments
 (0)