src/Pure/General/pretty.ML
changeset 62820 5c678ee5d34a
parent 62819 d3ff367a16a0
child 62823 751bcf0473a7
--- a/src/Pure/General/pretty.ML	Sat Apr 02 21:10:07 2016 +0200
+++ b/src/Pure/General/pretty.ML	Sat Apr 02 21:54:51 2016 +0200
@@ -395,7 +395,7 @@
         (map from_ML prts)
   | from_ML (ML_Pretty.Break (force, wd, ind)) =
       Break (force, FixedInt.toInt wd, FixedInt.toInt ind)
-  | from_ML (ML_Pretty.String (s, len)) = Str (s, FixedInt.toInt (force_nat len));
+  | from_ML (ML_Pretty.String (s, len)) = Str (s, force_nat (FixedInt.toInt len));
 
 val to_polyml = to_ML ~1 #> ML_Pretty.to_polyml;
 val from_polyml = ML_Pretty.from_polyml #> from_ML;