From: Royce M. I. <ro...@ev...> - 2002-07-16 14:57:52
|
wcstombs.c(91): if (wc < 0 || wc > 0x7fffffff) shouldn't this be: if ( wc & 0x80000000 ) same thing in wcstomb.c(87) if (wc < 0 || wc > 0x7fffffff) Now that I think about it, I think this won't fix the warning, because the warning is that expression is always false because of limited range of type. Perhaps the check should really bw: if ( wc & 0x8000 ) since wchar_t is supposed to be 16-bit? |