There were two positions where I had to change those values. %lld and %Ld
should now finally work (thanks to Marcus). git-svn-id: file:///srv/svn/repos/haiku/trunk/current@1673 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
4d78ef5224
commit
a86569deee
@ -416,11 +416,13 @@ reswitch: switch (ch) {
|
||||
}
|
||||
width = n;
|
||||
goto reswitch;
|
||||
#ifdef FLOATING_POINT
|
||||
case 'L':
|
||||
flags |= LONGDBL;
|
||||
goto rflag;
|
||||
flags |= QUADINT
|
||||
#ifdef FLOATING_POINT
|
||||
| LONGDBL
|
||||
#endif
|
||||
;
|
||||
goto rflag;
|
||||
case 'h':
|
||||
flags |= SHORTINT;
|
||||
goto rflag;
|
||||
@ -898,18 +900,20 @@ reswitch: switch (ch) {
|
||||
case 'L':
|
||||
flags |= QUADINT
|
||||
#ifdef FLOATING_POINT
|
||||
LONGDBL
|
||||
| LONGDBL
|
||||
#endif
|
||||
;
|
||||
;
|
||||
goto rflag;
|
||||
case 'h':
|
||||
flags |= SHORTINT;
|
||||
goto rflag;
|
||||
case 'l':
|
||||
if (flags & LONGINT)
|
||||
if (*fmt == 'l') {
|
||||
fmt++;
|
||||
flags |= QUADINT;
|
||||
else
|
||||
} else
|
||||
flags |= LONGINT;
|
||||
|
||||
goto rflag;
|
||||
case 'q':
|
||||
flags |= QUADINT;
|
||||
|
Loading…
Reference in New Issue
Block a user