summaryrefslogtreecommitdiffstats
path: root/generic/tclPkg.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2009-12-11 22:52:07 (GMT)
committernijtmans <nijtmans@noemail.net>2009-12-11 22:52:07 (GMT)
commit3f0093ea21c05f7ab184f145927ff1a4bbbdf860 (patch)
treeada137c0e957c5d51b65241741fb0063109a9966 /generic/tclPkg.c
parent6db8f8d1246401e66be25671d0761255a5d026f1 (diff)
downloadtcl-3f0093ea21c05f7ab184f145927ff1a4bbbdf860.zip
tcl-3f0093ea21c05f7ab184f145927ff1a4bbbdf860.tar.gz
tcl-3f0093ea21c05f7ab184f145927ff1a4bbbdf860.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] FossilOrigin-Name: 78b6d8b10a9820efb9c5c76a64057b01fe66a728
Diffstat (limited to 'generic/tclPkg.c')
-rw-r--r--generic/tclPkg.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclPkg.c b/generic/tclPkg.c
index 7bac7eb..3753445 100644
--- a/generic/tclPkg.c
+++ b/generic/tclPkg.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: tclPkg.c,v 1.39 2009/02/10 22:49:49 nijtmans Exp $
+ * RCS: @(#) $Id: tclPkg.c,v 1.40 2009/12/11 22:52:09 nijtmans Exp $
*
* TIP #268.
* Heavily rewritten to handle the extend version numbers, and extended
@@ -1865,7 +1865,7 @@ Tcl_PkgInitStubsCheck(
int count = 0;
while (*p) {
- count += !isdigit(*p++);
+ count += !isdigit(*p++ & 255);
}
if (count == 1) {
if (0 != strncmp(version, actualVersion, strlen(version))) {