[PATCH:libXfont 3/4] Fix printf warnings about incorrect argument types

Thomas Dickey dickey at his.com
Sun Oct 23 16:55:10 PDT 2011


On Sun, 23 Oct 2011, Jeremy Huddleston wrote:

> Why not change the format string to use %ld for sizeof() instead of casting?

sizeof() is guaranteed to be unsigned, but there's no guarantee that it's
identical to unsigned long.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net


More information about the xorg-devel mailing list