Hello,
Note that on a arm, powerpc, or a s390 char is an
unsigned value.
So, there are many warnings when compiling on those
architectures about "comparison is always false due to
limited range of data type"
Perhaps the fix is to change to type int?
Thanks!
Logged In: YES
user_id=577722
Originator: NO
The ideal solution would be to use more "guaranteed" types, such as "u_int8_t" and the like, especially if you are looking for guaranteed bit widths (I know of more than one project that got severely bitten by assuming that "long" always meant 32 bits).