From 4a0ea7553a297d2a846ef2dd4d417fa6936251c8 Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Sun, 12 May 2002 00:32:39 +0000 Subject: Several bugfixes for problems that showed up on alpha -Erik --- libc/stdio/printf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdio/printf.c') 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 -- cgit v1.2.3