Skip to content

Commit

Permalink
Merge pull request #9 from janestreet/v0.14.2-fix-bytecode-bits-stubs
Browse files Browse the repository at this point in the history
Patch the v0.14.1 opam release with a byte code fix.
  • Loading branch information
cwong-ocaml authored Mar 25, 2021
2 parents 1d32837 + 4164966 commit 02c41d4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/bits_stubs.c
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ CAMLprim value hardcaml_bits_mask(intnat width, value vdst) {
}

CAMLprim value hardcaml_bits_mask_bc(value width, value vdst) {
return hardcaml_bits_mask(Val_int(width), vdst);
return hardcaml_bits_mask(Int_val(width), vdst);
}

/* Add two multiword [Bits.t]. The widths of the arguments and results are the same.
Expand Down

0 comments on commit 02c41d4

Please sign in to comment.