This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: vfprintf typing problem
From: Paul Eggert <eggert@cs.ucla.edu>
Date: Fri, 30 Mar 2012 07:55:31 -0700
> On 03/30/2012 01:18 AM, David Miller wrote:
>> + if (__builtin_expect ((unsigned int) INT_MAX - (unsigned int) done \
>> + < (Len), 0)) \
>
> Since the values are all nonnegative there should be no need
> to cast to unsigned int. Could you please remove the casts?
> They add confusion, since the reader is left wondering
> why they're there at all.
Will do, thanks.