Re: how to stop bit-field sign extension

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

 



I added a check to c-typeck.c to find where we are assigning 
unsigned long long from signed int, and this potential problem 
is widespread in our code base, albeit not usually from bit fields.  
Thank you for the response!


On Tue, Sep 30, 2003 at 06:32:09AM -0500, Eljay Love-Jensen wrote:
> Hi Kevin,
> 
> ll = x.a;
> ll <<= 16;
> 
> HTH,
> --Eljay
> 


[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