signed vs unsigned pointer warning
Andreas Schwab
schwab@suse.de
Thu Sep 23 01:31:00 GMT 2004
"Dave Korn" <dk@artimi.com> writes:
> Which I don't think you can, since you can't store negative numbers
> in an unsigned type.
Actually you can, due to the modulo behaviour of unsigned integers.
Andreas.
--
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux AG, MaxfeldstraÃe 5, 90409 Nürnberg, Germany
Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."
More information about the Gcc
mailing list