diff options
author | nijtmans <nijtmans> | 2010-04-29 15:14:33 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2010-04-29 15:14:33 (GMT) |
commit | dde519dfeca37b7ebebd1bb3ab9f71e5f6e9f19e (patch) | |
tree | abee5118202c996d864e06a4f4a155718fcb1837 /generic | |
parent | 2a90da0aa437df7266bd2cb345c248969a8a8f6b (diff) | |
download | tcl-dde519dfeca37b7ebebd1bb3ab9f71e5f6e9f19e.zip tcl-dde519dfeca37b7ebebd1bb3ab9f71e5f6e9f19e.tar.gz tcl-dde519dfeca37b7ebebd1bb3ab9f71e5f6e9f19e.tar.bz2 |
fix MSVC warning C4018: '>' : signed/unsigned mismatch
Diffstat (limited to 'generic')
-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 1d46902..7bfa07a 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.61 2010/04/29 15:08:05 dkf Exp $ + * RCS: @(#) $Id: tclBinary.c,v 1.62 2010/04/29 15:14:33 nijtmans Exp $ */ #include "tclInt.h" @@ -613,7 +613,7 @@ TclAppendBytesToByteArray( * If we need to, resize the allocated space in the byte array. */ - if (byteArrayPtr->used+len > byteArrayPtr->allocated) { + if (byteArrayPtr->used + (int)len > byteArrayPtr->allocated) { unsigned int attempt, used = byteArrayPtr->used; ByteArray *tmpByteArrayPtr; |