On Sun, May 23, 2010 at 02:04:06PM +0200, Lech Lorens wrote:
> The problem with this patch that I notice is a warning from gcc:
> 
> gcc -c -I. -Iproto -DHAVE_CONFIG_H -DFEAT_GUI_ATHENA     -g -O2 
> -D_FORTIFY_SOURCE=1          -o objects/fileio.o fileio.c
> fileio.c: In function ‘msg_add_lines’:
> fileio.c:5054: warning: format ‘%ld’ expects type ‘long int’, but argument 4 
> has type ‘off_t’
> fileio.c:5065: warning: format ‘%ld’ expects type ‘long int’, but argument 3 
> has type ‘off_t’

I hadn't seen that on the systems I tested with.  What GCC version and
what does “grep SIZEOF_ src/auto/config.h” say?

-- 
James
GPG Key: 1024D/61326D40 2003-09-02 James Vega <[email protected]>

Attachment: signature.asc
Description: Digital signature

Raspunde prin e-mail lui