On 2/19/16, Bruce Evans <[email protected]> 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-defined, but ~0 isn't.
>
> The operation is complementation, not negation.

Yes, brain fart. I stand corrected of course.

- Justin
_______________________________________________
[email protected] mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "[email protected]"

Reply via email to