Comparison

Michael Kukat michael@unixiron.org
Fri Mar 2 12:28:00 GMT 2007


Hi,

2007/3/2, John (Eljay) Love-Jensen <eljay@adobe.com>:
> Isn't the result of a comparison, such as (x < y), an int -- regardless of the types of x and y?

Hm, may be. But i wonder why the variable ctr is then initialized as
16bit if just the comparison would be int. And i also assume, that
while((uint8_t)(++ctr < 64)) should avoid 16bit in this case, which it
doesn't. -mint8 creates lots of other problems, so i can't try this
out (besides this i don't really want to use this option :)

...Michael



More information about the Gcc-help mailing list