[PATCH] Quash Wformat warning
Marek Polacek
polacek@redhat.com
Sun Aug 19 13:58:00 GMT 2012
On Sat, Aug 18, 2012 at 09:24:36AM -0700, Roland McGrath wrote:
> I think those indicate a real problem, since the return type of
> bswap_{32,64} really ought to be uint{32,64}_t. We should fix them
> rather than paper over the bug.
Indeed, we have a code like this:
static __inline unsigned int
__bswap_32 (unsigned int __bsx)
{
return __builtin_bswap32 (__bsx);
}
instead of using uint{32,64}_t types. I'm preparing a patch. Thanks,
Marek
More information about the Libc-alpha
mailing list