incorrect enum warning?

Dag-Erling Smorgrav des at
Thu May 1 14:03:45 PDT 2003

Stefan Farfeleder <stefan at> writes:
> Because 0x80000000 > INT_MAX on 32-Bit architectures, 0x80000000 has
> type unsigned.  But enumeration constants always have type int, that's
> why you're getting this warning.

but 0x80000000 == INT_MIN on 32-bit two's complement systems...

Dag-Erling Smorgrav - des at

More information about the freebsd-hackers mailing list