diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-05-12 00:32:39 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-05-12 00:32:39 +0000 |
commit | 4a0ea7553a297d2a846ef2dd4d417fa6936251c8 (patch) | |
tree | 59976ee5d86a620fb40813c2632e2e67eaf95adf /libc/stdio/printf.c | |
parent | d53ee523f31d10e630b766910251baea4935f11f (diff) |
Several bugfixes for problems that showed up on alpha
-Erik
Diffstat (limited to 'libc/stdio/printf.c')
-rw-r--r-- | libc/stdio/printf.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/stdio/printf.c b/libc/stdio/printf.c index 407bf1d8b..92b5b5956 100644 --- a/libc/stdio/printf.c +++ b/libc/stdio/printf.c @@ -2091,7 +2091,7 @@ extern uintmax_t _load_inttype(int desttype, const void *src, int uflag) #if LONG_MAX != INT_MAX if (desttype & (PA_FLAG_LONG|PA_FLAG_LONG_LONG)) { #ifdef LLONG_MAX - if (destsize == PA_FLAG_LONG_LONG) { + if (desttype == PA_FLAG_LONG_LONG) { return *((long long int *) src); } #endif |