Pointer representation in the server
Soeren Sandmann
sandmann at daimi.au.dk
Thu Jan 13 11:05:30 PST 2005
Adam Jackson <ajax at nwnk.net> writes:
> Is there any objection to requiring that printf support the %p modifier?
> There are quite a few places in the server where we use 0x%08lx to print
> pointer values, which is both harder to read than %p and wrong for LP64
> systems. We do use %p in several places as well, so this is really more of a
> cleanup than a policy decision.
I think that's fine. %p is required by the C standard anyway.
Søren
More information about the xorg
mailing list