[PATCH] Suppress a warning about mismatched parameter in format string (expected long int, provided unsigned int).
Samuel Thibault
samuel.thibault at ens-lyon.org
Wed Apr 25 05:34:36 PDT 2007
Samuel Thibault, le Wed 25 Apr 2007 14:23:37 +0200, a écrit :
> Giuseppe Bilotta, le Wed 25 Apr 2007 14:15:33 +0200, a écrit :
> > gcc has a 'z' format string
> > extension that handles this (%zu turns out as the correct architecture
> > dependent size_t) ... can we rely on it?
>
> It's not an extension, it's described in susv3.
It's even in C99 actually.
Samuel
More information about the xorg
mailing list