Re: casting on 64/32-bit environment

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

 



"Mitja Ursic" <mitja.ursic@xxxxxxxx> writes:

> Dose anyone have a reasonable explanation about that?

Hi,

make sure to use 'unsigned long' instead of 'unsigned int', as only the
first one will be 64bit in a 64bit environment, the latter still will
be 32bit.

  /holger

[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