Skip to content

Commit

Permalink
Fix compilation with OCaml 4.06
Browse files Browse the repository at this point in the history
  • Loading branch information
alavrik committed Feb 13, 2018
1 parent 2a84c9b commit 336e8fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piqic-ocaml/piqic_common.ml
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ module Util =
then s
else
(* preserve the original string *)
let s = Bytes.copy s in
let s = Bytes.of_string s in
for i = 0 to (Bytes.length s) - 1
do
if Bytes.get s i = x
Expand Down

0 comments on commit 336e8fd

Please sign in to comment.