This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: PATCH: Add x32 support to dynamic linker audit
On Wed, Mar 21, 2012 at 5:35 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> %lx is wrong for uint64_t, which may be long long, not
> long.
Yes, that was a typo I should have printed %llx.
So was %tu and ptrdiff_t chosen because they conveniently match the
type to be printed no matter the architecture?
Even though the meaning of ptrdiff_t isn't really what we intend here?
Cheers,
Carlos.