From 152874f9ea75239b674bc3f9b635887e66d40c35 Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Mon, 29 Jan 2007 04:07:37 +0000 Subject: fix from Atsushi Nemoto for displaying of 64bit types --- libc/stdio/_vfprintf.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libc/stdio/_vfprintf.c') diff --git a/libc/stdio/_vfprintf.c b/libc/stdio/_vfprintf.c index 3a5a0e92d..571b99c2b 100644 --- a/libc/stdio/_vfprintf.c +++ b/libc/stdio/_vfprintf.c @@ -1566,7 +1566,7 @@ static int _do_one_spec(FILE * __restrict stream, #endif /* __UCLIBC_MJN3_ONLY__ */ s = _uintmaxtostr(buf + sizeof(buf) - 1, (uintmax_t) - _load_inttype(*argtype & __PA_INTMASK, + _load_inttype(ppfs->conv_num == CONV_p ? PA_FLAG_LONG : *argtype & __PA_INTMASK, *argptr, base), base, alphacase); if (ppfs->conv_num > CONV_u) { /* signed int */ if (*s == '-') { -- cgit v1.2.3