]> git.gag.com Git - fw/sdcc/blobdiff - src/SDCCval.c
removed a warning
[fw/sdcc] / src / SDCCval.c
index cb4a4428a4a161386058f284b375b6f2942f4d3a..016aad1503f23e1d2cbfd89199ef8d83f87798be 100644 (file)
@@ -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);
 }