Re: [PATCH libFS] Silence gcc warning.

2011-02-19 Thread Julien Cristau
On Fri, Feb 18, 2011 at 21:17:12 +0100, 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

Re: [PATCH libFS] Silence gcc warning.

2011-02-19 Thread Mark Kettenis
Date: Sat, 19 Feb 2011 15:04:24 +0100 From: Julien Cristau jcris...@debian.org diff --git a/test/FSGetErrorText.c b/test/FSGetErrorText.c index 31523c6..f9a88d2 100644 --- a/test/FSGetErrorText.c +++ b/test/FSGetErrorText.c @@ -40,7 +40,7 @@ CheckErrorMessage(FSServer *srv, int code,

[PATCH libFS] Silence gcc warning.

2011-02-18 Thread Cyril Brulebois
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

Re: [PATCH libFS] Silence gcc warning.

2011-02-18 Thread Alan Coopersmith
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