From 6f030c2235d16d3e21ea420d3c5f82576506d0e2 Mon Sep 17 00:00:00 2001 From: johanknol Date: Tue, 9 Oct 2001 14:49:04 +0000 Subject: [PATCH] solaris (ppc?) ignores 'L' for non-integers in the scanf format string git-svn-id: https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc@1382 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 fe15c800..bf97fabf 100644 --- a/src/SDCCval.c +++ b/src/SDCCval.c @@ -450,7 +450,8 @@ value *constVal (char *s) /* create the scan string */ scanFmt[scI++] = '%'; - scanFmt[scI++] = 'L'; + scanFmt[scI++] = 'l'; + scanFmt[scI++] = 'l'; if (octal) scanFmt[scI++] = 'o'; -- 2.39.5