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- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel