...
Code Block |
---|
unsigned long int ul = ULONG_MAX; signed char sc; if (iul <= SCHAR_MAX) { sc = (signed char)ul; /* use cast to eliminate warning */ } else { /* handle error condition */ } |
...
...
Code Block |
---|
unsigned long int ul = ULONG_MAX; signed char sc; if (iul <= SCHAR_MAX) { sc = (signed char)ul; /* use cast to eliminate warning */ } else { /* handle error condition */ } |
...