From 5dd41827b71c65a7f2e62330e7bf2bbd4e75d419 Mon Sep 17 00:00:00 2001 From: sof Date: Wed, 11 Mar 1998 16:54:13 +0000 Subject: [PATCH] [project @ 1998-03-11 16:54:13 by sof] jtos: leave Integer-land ASAP --- ghc/lib/std/PrelNum.lhs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ghc/lib/std/PrelNum.lhs b/ghc/lib/std/PrelNum.lhs index a562fac..679329a 100644 --- a/ghc/lib/std/PrelNum.lhs +++ b/ghc/lib/std/PrelNum.lhs @@ -848,7 +848,7 @@ jtos' n cs = if n < 10 then chr (fromInteger (n + ord_0)) : cs else - jtos' (n `quot` 10) (chr (fromInteger (n `rem` 10 + ord_0)) : cs) + jtos' (n `quot` 10) (chr (toInt (n `rem` 10) + (ord_0::Int)) : cs) showFloat x = showString (formatRealFloat FFGeneric Nothing x) -- 1.7.10.4