diff options
author | Stephane Glondu <steph@glondu.net> | 2019-09-08 18:02:09 +0200 |
---|---|---|
committer | Stéphane Glondu <glondu@debian.org> | 2019-09-08 18:05:10 +0200 |
commit | 25e9db260e0605cba11bdbb68a4ff40cdbf98090 (patch) | |
tree | f7247f6c6fa4cbf9c29bfd2bef4eb376d99e188b | |
parent | b63a9f2e54f19bf5193e0669e9cf3942ed2693ae (diff) |
Fix compilation with OCaml 4.08.0
Gbp-Pq: Name 0001-Fix-compilation-with-OCaml-4.08.0.patch
-rw-r--r-- | setup.ml | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -210,11 +210,11 @@ module OASISString = struct raise Not_found let replace_chars f s = - let buf = String.make (String.length s) 'X' in + let buf = Bytes.make (String.length s) 'X' in for i = 0 to String.length s - 1 do buf.[i] <- f s.[i] done; - buf + Bytes.to_string buf end |