Signed to unsigned comparison
der Mouse
mouse at thunder.mcrcim.mcgill.edu
Tue Mar 26 22:38:19 AEST 1991
In article <1991Mar24.001308.12852 at zoo.toronto.edu>, henry at zoo.toronto.edu (Henry Spencer) writes:
> The -1 is converted to `unsigned int', probably giving something like
> 65535 or 2147483647, and then the comparison is done, probably not
65535 or *what*? I don't think 31-bit ints can really be spoken of
with language like "probably".
:-), naturally....
der Mouse
old: mcgill-vision!mouse
new: mouse at larry.mcrcim.mcgill.edu
More information about the Comp.lang.c
mailing list