summaryrefslogtreecommitdiff
path: root/libc/stdio
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-05-12 00:32:39 +0000
committerEric Andersen <andersen@codepoet.org>2002-05-12 00:32:39 +0000
commit4a0ea7553a297d2a846ef2dd4d417fa6936251c8 (patch)
tree59976ee5d86a620fb40813c2632e2e67eaf95adf /libc/stdio
parentd53ee523f31d10e630b766910251baea4935f11f (diff)
Several bugfixes for problems that showed up on alpha
-Erik
Diffstat (limited to 'libc/stdio')
-rw-r--r--libc/stdio/printf.c2
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