summaryrefslogtreecommitdiffstats
path: root/generic/tclCompExpr.c
diff options
context:
space:
mode:
authornijtmans <nijtmans>2009-12-11 23:10:47 (GMT)
committernijtmans <nijtmans>2009-12-11 23:10:47 (GMT)
commitace579190b2305205d8a0000aaa0b2759b28e594 (patch)
tree5bf05c10694ebb7050e255e2f663f3936776582d /generic/tclCompExpr.c
parent03861193914234b7689c01abc8e74ca8ec20d873 (diff)
downloadtcl-ace579190b2305205d8a0000aaa0b2759b28e594.zip
tcl-ace579190b2305205d8a0000aaa0b2759b28e594.tar.gz
tcl-ace579190b2305205d8a0000aaa0b2759b28e594.tar.bz2
Fix gcc warning, using gcc-4.3.4 on cygwin
warning: array subscript has type 'char' win/makefile.vc Revert to version 1.203 [Bug #2912773]
Diffstat (limited to 'generic/tclCompExpr.c')
-rw-r--r--generic/tclCompExpr.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompExpr.c b/generic/tclCompExpr.c
index 2677c51..306bf78 100644
--- a/generic/tclCompExpr.c
+++ b/generic/tclCompExpr.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCompExpr.c,v 1.101 2009/12/11 22:52:09 nijtmans Exp $
+ * RCS: @(#) $Id: tclCompExpr.c,v 1.102 2009/12/11 23:10:47 nijtmans Exp $
*/
#include "tclInt.h"
@@ -752,7 +752,7 @@ ParseExpr(
const char *end = lastStart + 2;
Tcl_Obj *copy;
- while (isdigit(*end & 255)) {
+ while (isdigit(UCHAR(*end))) {
end++;
}
copy = Tcl_NewStringObj(lastStart,