[Thunar-dev] compiling problems on 64bit

Benedikt Meurer benedikt.meurer at unix-ag.uni-siegen.de
Wed Jan 4 19:14:46 CET 2006


Roberto Pariset wrote:
> This is the error:
> 
> cc1: warnings being treated as errors
> tdbtool.c: In function ‘print_rec’:
> tdbtool.c:345: warning: format ‘%d’ expects type ‘int’, but argument 3
> has type ‘size_t’
> tdbtool.c:347: warning: format ‘%d’ expects type ‘int’, but argument 3
> has type ‘size_t’
> 
> size_t on i386 is unsigned int, but on amd64 is unsigned long, which
> is 8 byte instead of 4. Trivial patch follows, hope it will work...

Fixed. Thanks.

> Rob

Benedikt



More information about the Thunar-dev mailing list