diff options
| author | nijtmans <nijtmans> | 2010-04-29 15:14:33 (GMT) |
|---|---|---|
| committer | nijtmans <nijtmans> | 2010-04-29 15:14:33 (GMT) |
| commit | dbfb9a802a7bab3579a9fe4591f532f22fe4a374 (patch) | |
| tree | abee5118202c996d864e06a4f4a155718fcb1837 /generic/tclBinary.c | |
| parent | ee179d9ab21c882fc3e9605c59d567283a5cbcfd (diff) | |
| download | tcl-dbfb9a802a7bab3579a9fe4591f532f22fe4a374.zip tcl-dbfb9a802a7bab3579a9fe4591f532f22fe4a374.tar.gz tcl-dbfb9a802a7bab3579a9fe4591f532f22fe4a374.tar.bz2 | |
fix MSVC warning C4018: '>' : signed/unsigned mismatch
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 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; |
