[Fontconfig] mmap branch vs gnome-terminal

Patrick Lam plam at MIT.EDU
Thu Sep 29 02:37:15 EST 2005


Matthias Clasen wrote:
> When compiling the mmap branch on x86_64, I get warnings about 
> the %4x format used for sizeof() in fccache.c, since sizeof()
> apparently returns unsigned long int here. One way to fix it
> would be to use %4zx (but I don't know how widespread support 
> for the z modifier is), or just cast the sizeof() values to
> unsigned int.

Thanks.  I've committed a bunch of casts to unsigned int, which
shouldn't really be a problem for sizeof() results for the forseeable
future.

pat




More information about the Fontconfig mailing list