Fix CID 39905, 39906, 39907: Operands don't affect result.

This commit is contained in:
Renaud 2015-03-19 14:29:24 +08:00
parent 9b40894342
commit 7f7cc5b6fd
1 changed files with 2 additions and 2 deletions

View File

@ -257,11 +257,11 @@
#else
#define isletter(c) isxletter((0xFF & (c)))
#define isletter(c) __isxletter((0xFF & (c)))
#define islower(c) isxlower((0xFF & (c)))
#define isupper(c) isxupper((0xFF & (c)))
#define isxletter(c) (('a' <= c && LASTLL >= c) || ('A' <= c && LASTUL >= c) || (192<=c && c<=255))
#define __isxletter(c) (('a' <= c && LASTLL >= c) || ('A' <= c && LASTUL >= c) || (192<=c /* && c<=255 */))
#define isxlower(c) (('a' <= c && LASTLL >= c) || (224 <= c && 252 >= c))
#define isxupper(c) (('A' <= c && LASTUL >= c) || (192 <= c && 220 >= c))