svn commit: trunk/uClibc/libc/stdio

vapier at uclibc.org vapier at uclibc.org
Mon Jan 29 04:07:38 UTC 2007


Author: vapier
Date: 2007-01-28 20:07:37 -0800 (Sun, 28 Jan 2007)
New Revision: 17623

Log:
fix from Atsushi Nemoto for displaying of 64bit types

Modified:
   trunk/uClibc/libc/stdio/_vfprintf.c


Changeset:
Modified: trunk/uClibc/libc/stdio/_vfprintf.c
===================================================================
--- trunk/uClibc/libc/stdio/_vfprintf.c	2007-01-29 04:04:19 UTC (rev 17622)
+++ trunk/uClibc/libc/stdio/_vfprintf.c	2007-01-29 04:07:37 UTC (rev 17623)
@@ -1566,7 +1566,7 @@
 #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 == '-') {




More information about the uClibc-cvs mailing list