This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]