From: Stephane Glondu Date: Tue, 3 Sep 2019 10:35:12 +0200 Subject: Fix compilation with OCaml 4.08.0 --- gmp.ml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/gmp.ml b/gmp.ml index 135c3dc..bac73ea 100644 --- a/gmp.ml +++ b/gmp.ml @@ -406,7 +406,7 @@ module F = struct in String.blit mantissa 0 tmp 0 1; String.blit mantissa 1 tmp 2 (pred lm); String.set tmp 1 '.'; - tmp + Bytes.to_string tmp else mantissa) ^ (if base <= 10 then "E" else "@") ^ (string_of_int (pred exponent)));; @@ -544,7 +544,7 @@ module FR = struct in String.blit mantissa 0 tmp 0 1; String.blit mantissa 1 tmp 2 (pred lm); String.set tmp 1 '.'; - tmp + Bytes.to_string tmp else mantissa) ^ (if base <= 10 then "E" else "@") ^ (string_of_int (pred exponent)));;