diff options
author | nijtmans <nijtmans@noemail.net> | 2009-12-11 23:10:47 (GMT) |
---|---|---|
committer | nijtmans <nijtmans@noemail.net> | 2009-12-11 23:10:47 (GMT) |
commit | 10ce29ccec0b87bec11091d8b41a657dbe219e3e (patch) | |
tree | 5bf05c10694ebb7050e255e2f663f3936776582d /generic/tclBinary.c | |
parent | 3f0093ea21c05f7ab184f145927ff1a4bbbdf860 (diff) | |
download | tcl-10ce29ccec0b87bec11091d8b41a657dbe219e3e.zip tcl-10ce29ccec0b87bec11091d8b41a657dbe219e3e.tar.gz tcl-10ce29ccec0b87bec11091d8b41a657dbe219e3e.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: 574533920e342b96bb7273401972575c42fc638c
Diffstat (limited to 'generic/tclBinary.c')
-rw-r--r-- | generic/tclBinary.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclBinary.c b/generic/tclBinary.c index 4c2d47e..75b3ca2 100644 --- a/generic/tclBinary.c +++ b/generic/tclBinary.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: tclBinary.c,v 1.57 2009/12/11 22:52:09 nijtmans Exp $ + * RCS: @(#) $Id: tclBinary.c,v 1.58 2009/12/11 23:10:47 nijtmans Exp $ */ #include "tclInt.h" @@ -2497,7 +2497,7 @@ BinaryDecodeUu( if (data < dataend) { d[i] = c = *data++; if (c < 33 || c > 96) { - if (strict || !isspace(c & 255)) { + if (strict || !isspace(UCHAR(c))) { goto badUu; } i--; |