diff options
author | dgp <dgp@users.sourceforge.net> | 2014-08-02 00:06:21 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2014-08-02 00:06:21 (GMT) |
commit | 05ebf671c4c783977fe9da5d8782277d0855605b (patch) | |
tree | 126aad454d32d8118e562655eaae3045e2e36696 /generic | |
parent | b86e4ae4f1c064097acc816bb6fa8c922ac200f0 (diff) | |
parent | 5a669c8fbb45b3321f07482c114152486d0600bf (diff) | |
download | tcl-05ebf671c4c783977fe9da5d8782277d0855605b.zip tcl-05ebf671c4c783977fe9da5d8782277d0855605b.tar.gz tcl-05ebf671c4c783977fe9da5d8782277d0855605b.tar.bz2 |
merge 8.5
Diffstat (limited to 'generic')
-rw-r--r-- | generic/tclIO.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tclIO.c b/generic/tclIO.c index 7216423..57a934b 100644 --- a/generic/tclIO.c +++ b/generic/tclIO.c @@ -5405,7 +5405,7 @@ ReadChars( * for sizing receiving buffers. */ - int toRead = ((unsigned) charsToRead > srcLen) ? srcLen : charsToRead; + int toRead = ((unsigned) charsToRead > (unsigned) srcLen) ? srcLen : charsToRead; /* * 'factor' is how much we guess that the bytes in the source buffer will |