vfprintf typing problem

David Miller davem@davemloft.net
Sat Mar 31 01:24:00 GMT 2012


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.



More information about the Libc-alpha mailing list