This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Quash Wformat warning


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]