1 << 31 redux

Lowell Gilbert freebsd-lists at be-well.ilk.org
Tue Jan 16 01:58:39 UTC 2018


"Rodney W. Grimes" <freebsd-rwg at pdx.rh.CN85.dnsmgr.net> writes:

> Is not this 1U<<31 -> signed value really just sweeping the bigger
> issue that we are using signed values in unsigned ways?

It might be more appropriate to say that we are using unsigned values,
but not telling the compiler that they aren't signed. No?


More information about the freebsd-hackers mailing list