[PATCH libFS] Silence gcc warning.
Alan Coopersmith
alan.coopersmith at oracle.com
Fri Feb 18 12:56:35 PST 2011
On 02/18/11 12:17 PM, Cyril Brulebois wrote:
> Fix the build with CFLAGS="-Wall -Werror":
> | CC FSGetErrorText.o
> | cc1: warnings being treated as errors
> | FSGetErrorText.c: In function ‘CheckErrorMessage’:
> | FSGetErrorText.c:43: error: format ‘%d’ expects type ‘int’, but argument 5 has type ‘long unsigned int’
>
> An int is likely to be sufficient for this buffer's size…
Whoops, that's what I get for only testing 32-bit with gcc. Thanks.
Pushed to master.
--
-Alan Coopersmith- alan.coopersmith at oracle.com
Oracle Solaris Platform Engineering: X Window System
More information about the xorg-devel
mailing list