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;
|
width = n;
|
||||||
goto reswitch;
|
goto reswitch;
|
||||||
#ifdef FLOATING_POINT
|
|
||||||
case 'L':
|
case 'L':
|
||||||
flags |= LONGDBL;
|
flags |= QUADINT
|
||||||
goto rflag;
|
#ifdef FLOATING_POINT
|
||||||
|
| LONGDBL
|
||||||
#endif
|
#endif
|
||||||
|
;
|
||||||
|
goto rflag;
|
||||||
case 'h':
|
case 'h':
|
||||||
flags |= SHORTINT;
|
flags |= SHORTINT;
|
||||||
goto rflag;
|
goto rflag;
|
||||||
@ -898,18 +900,20 @@ reswitch: switch (ch) {
|
|||||||
case 'L':
|
case 'L':
|
||||||
flags |= QUADINT
|
flags |= QUADINT
|
||||||
#ifdef FLOATING_POINT
|
#ifdef FLOATING_POINT
|
||||||
LONGDBL
|
| LONGDBL
|
||||||
#endif
|
#endif
|
||||||
;
|
;
|
||||||
goto rflag;
|
goto rflag;
|
||||||
case 'h':
|
case 'h':
|
||||||
flags |= SHORTINT;
|
flags |= SHORTINT;
|
||||||
goto rflag;
|
goto rflag;
|
||||||
case 'l':
|
case 'l':
|
||||||
if (flags & LONGINT)
|
if (*fmt == 'l') {
|
||||||
|
fmt++;
|
||||||
flags |= QUADINT;
|
flags |= QUADINT;
|
||||||
else
|
} else
|
||||||
flags |= LONGINT;
|
flags |= LONGINT;
|
||||||
|
|
||||||
goto rflag;
|
goto rflag;
|
||||||
case 'q':
|
case 'q':
|
||||||
flags |= QUADINT;
|
flags |= QUADINT;
|
||||||
|
Loading…
Reference in New Issue
Block a user