[PATCH] Use PRId32/PRIx32 from inttypes.h for printf of CARD32 values.

Jamey Sharp jamey at minilop.net
Sat Oct 3 18:12:54 PDT 2009

On Sat, Oct 3, 2009 at 6:06 PM, Daniel Stone <daniel at fooishbar.org> wrote:
> On Fri, Oct 02, 2009 at 01:42:46PM -0700, Jamey Sharp wrote:
>> +     ErrorF(" rep_insb(%#x) %" PRId32 " bytes at %8.8" PRIx32 " %s\n",
> Is this portable beyond glibc? Alan? Matthieu?

It's standardized in C99 and available in many implementations
earlier, I thought. Good enough? Certainly it's an easy definition to
duplicate if the system doesn't have it already.


More information about the xorg-devel mailing list