On 2/19/16, Bruce Evans wrote:
> On Sat, 20 Feb 2016, Justin Hibbits wrote:
>
>> Log:
>> Fix the definition of RM_MAX_END.
>>
>> Even though casting from signed to unsigned is well-defined in C, it's
>> better to
>> first cast to the larger unsigned type, then negate.
>
> Casting ~0 is well-def
On Sat, 20 Feb 2016, Justin Hibbits wrote:
Log:
Fix the definition of RM_MAX_END.
Even though casting from signed to unsigned is well-defined in C, it's better
to
first cast to the larger unsigned type, then negate.
Casting ~0 is well-defined, but ~0 isn't.
The operation is complementati
Author: jhibbits
Date: Sat Feb 20 01:34:13 2016
New Revision: 295833
URL: https://svnweb.freebsd.org/changeset/base/295833
Log:
Fix the definition of RM_MAX_END.
Even though casting from signed to unsigned is well-defined in C, it's better
to
first cast to the larger unsigned type, then