[PATCH] fix printf "%p" output on 64-bit platform

Mike Frysinger vapier at gentoo.org
Tue Nov 7 07:54:54 UTC 2006

On Tuesday 07 November 2006 02:36, Atsushi Nemoto wrote:
> I found printf("%p", ...) prints only 32bit value on 64-bit platform
> (length of "long" and "void *" are 64 bit).
> I cooked a patch, but I'm not sure this is a right place to fix.
> Please review.  Thanks.

wouldnt it make more sense to just do:
- _load_inttype(*argtype & __PA_INTMASK,
+ _load_inttype(*argtype & __PA_LONGMASK,
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 827 bytes
Desc: not available
Url : http://lists.busybox.net/pipermail/uclibc/attachments/20061107/d561eda3/attachment-0002.pgp 

More information about the uClibc mailing list