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
_______________________________________________
[email protected]: X.Org development
Archives: http://lists.x.org/archives/xorg-devel
Info: http://lists.x.org/mailman/listinfo/xorg-devel

Reply via email to