diff --git a/Tests/Succeed/Test187.ML b/Tests/Succeed/Test187.ML index 774f888c..9d581f40 100644 --- a/Tests/Succeed/Test187.ML +++ b/Tests/Succeed/Test187.ML @@ -1,4 +1,4 @@ (* This could segfault if GMP was enabled due to a bug in neg_longc. *) -val x = ~ (LargeInt.fromInt(valOf FixedInt.maxInt)) - 1; +val x = ~ (LargeInt.fromInt(FixedInt.toInt(valOf FixedInt.maxInt))) - 1; PolyML.IntInf.gcd(x, 0);