From 59a83cb7479f6d80dc9e1f602978f42b87ed25e5 Mon Sep 17 00:00:00 2001 From: johanknol Date: Sun, 20 May 2001 12:53:14 +0000 Subject: [PATCH] removed a warning git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@838 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCval.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/SDCCval.c b/src/SDCCval.c index cb4a4428..016aad15 100644 --- a/src/SDCCval.c +++ b/src/SDCCval.c @@ -1,3 +1,4 @@ +void CatchMe() {} /*---------------------------------------------------------------------- SDCCval.c :- has routine to do all kinds of fun stuff with the value wrapper & with initialiser lists. @@ -225,7 +226,7 @@ valueFromLit (double lit) return constVal (buffer); } - sprintf (buffer, "%lf", lit); + sprintf (buffer, "%f", lit); return constFloatVal (buffer); } -- 2.30.2