Re: Hi ! help please

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

 




If result returns integer it's ok.
If it returns a Long you are in trouble usually as then it has to compare with

0L

unsigned long or 64 bits unsigned:

0ULL

On Fri, 1 Jan 2016, user user wrote:

Hi ! help please
if((result=f())==0)
is Undefined behavior ?




[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