X-Git-Url: https://git.gag.com/?a=blobdiff_plain;f=src%2FSDCCval.c;h=3b711c542394f3e45221643addc746e70f04d0d7;hb=741069f5e89fab933173425a05edd2832721a71f;hp=9dadb1fb3b503b345f2f447aac0ff1e51f5a43c1;hpb=20765c254dea13a783c5d66684bac6b712d74ef7;p=fw%2Fsdcc diff --git a/src/SDCCval.c b/src/SDCCval.c index 9dadb1fb..3b711c54 100644 --- a/src/SDCCval.c +++ b/src/SDCCval.c @@ -29,12 +29,6 @@ #include #include "newalloc.h" -#if defined(__BORLANDC__) || defined(_MSC_VER) -#define LONG_LONG __int64 -#else -#define LONG_LONG long long -#endif - int cNestLevel; /*-----------------------------------------------------------------*/ @@ -425,7 +419,7 @@ value *constVal (char *s) short hex = 0, octal = 0; char scanFmt[10]; int scI = 0; - double sval; + long sval; val = newValue (); /* alloc space for value */ @@ -446,7 +440,6 @@ value *constVal (char *s) scanFmt[scI++] = '%'; scanFmt[scI++] = 'l'; - scanFmt[scI++] = 'f'; if (octal) scanFmt[scI++] = 'o';