From 20765c254dea13a783c5d66684bac6b712d74ef7 Mon Sep 17 00:00:00 2001 From: johanknol Date: Mon, 15 Oct 2001 12:20:37 +0000 Subject: [PATCH] let's be nice to cygwin and mingw git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1404 4a8a32a2-be11-0410-ad9d-d568d2c75423 --- src/SDCCval.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/SDCCval.c b/src/SDCCval.c index cee4dde1..9dadb1fb 100644 --- a/src/SDCCval.c +++ b/src/SDCCval.c @@ -425,7 +425,7 @@ value *constVal (char *s) short hex = 0, octal = 0; char scanFmt[10]; int scI = 0; - LONG_LONG sval; + double sval; val = newValue (); /* alloc space for value */ @@ -446,7 +446,7 @@ value *constVal (char *s) scanFmt[scI++] = '%'; scanFmt[scI++] = 'l'; - scanFmt[scI++] = 'l'; + scanFmt[scI++] = 'f'; if (octal) scanFmt[scI++] = 'o'; -- 2.47.2