Re: signed/unsigned integer conversion for right shift seems against C99 rule

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

 



See the definition of "usual arithmetic conversions" in the text of the standard
and note that they are not applied to bitwise shift arguments (they undergo
integer promotions individually).

HTH.
Alexandr



[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