Re: Comparison

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

2007/3/2, John (Eljay) Love-Jensen <eljay@xxxxxxxxx>:
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

[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux