summaryrefslogtreecommitdiffstats
path: root/generic/tclCompExpr.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2014-12-08 16:05:19 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2014-12-08 16:05:19 (GMT)
commitb27238fbbb6ee992d3f908e53606d862a8100c46 (patch)
treec1ea7b44eea68251d0cdff33b87f85585c43ebc3 /generic/tclCompExpr.c
parentb52476a5cdc6924d597f7bc9dbd89f0717058009 (diff)
downloadtcl-b27238fbbb6ee992d3f908e53606d862a8100c46.zip
tcl-b27238fbbb6ee992d3f908e53606d862a8100c46.tar.gz
tcl-b27238fbbb6ee992d3f908e53606d862a8100c46.tar.bz2
Fix some gcc compiler warnings (probably cygwin-only)
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r--generic/tclCompExpr.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c
index 7b67970..23dc0a4 100644
--- a/generic/tclCompExpr.c
+++ b/generic/tclCompExpr.c
@@ -1883,7 +1883,7 @@ ParseLexeme(
case 'i':
if ((numBytes > 1) && (start[1] == 'n')
- && ((numBytes == 2) || start[2] & 0x80 || !isalpha(start[2]))) {
+ && ((numBytes == 2) || start[2] & 0x80 || !isalpha(UCHAR(start[2])))) {
/*
* Must make this check so we can tell the difference between
@@ -1898,7 +1898,7 @@ ParseLexeme(
case 'e':
if ((numBytes > 1) && (start[1] == 'q')
- && ((numBytes == 2) || start[2] & 0x80 || !isalpha(start[2]))) {
+ && ((numBytes == 2) || start[2] & 0x80 || !isalpha(UCHAR(start[2])))) {
*lexemePtr = STREQ;
return 2;
}
@@ -1906,7 +1906,7 @@ ParseLexeme(
case 'n':
if ((numBytes > 1)
- && ((numBytes == 2) || start[2] & 0x80 || !isalpha(start[2]))) {
+ && ((numBytes == 2) || start[2] & 0x80 || !isalpha(UCHAR(start[2])))) {
switch (start[1]) {
case 'e':
*lexemePtr = STRNEQ;