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

Atsushi Nemoto anemo at mba.ocn.ne.jp
Mon Jan 29 15:16:26 UTC 2007


On Sun, 28 Jan 2007 22:57:19 -0600, Roman Kononov <roman at xtremedatainc.com> wrote:
> There should be
> 	typedef char test_t[sizeof(void*)>sizeof(uintmax_t)?-1:1];
> instead of
> 	typedef char test_t[sizeof(void*)<sizeof(uintmax_t)?-1:1];

It should work, but my first patch was merged already.  Thank you
anyway.

---
Atsushi Nemoto



More information about the uClibc mailing list