summaryrefslogtreecommitdiffstats
path: root/generic/tclIO.c
diff options
context:
space:
mode:
authorandreask <andreask>2014-08-01 18:36:50 (GMT)
committerandreask <andreask>2014-08-01 18:36:50 (GMT)
commit0b7630c23f5b4ffb389836b9bba2b1e1b6c683e3 (patch)
treec4f4a4334523ac65319f1b376b9f9cbf422b7738 /generic/tclIO.c
parentbed95cfaf7e04f2ec6f84d55b0c45838bfba6be5 (diff)
downloadtcl-0b7630c23f5b4ffb389836b9bba2b1e1b6c683e3.zip
tcl-0b7630c23f5b4ffb389836b9bba2b1e1b6c683e3.tar.gz
tcl-0b7630c23f5b4ffb389836b9bba2b1e1b6c683e3.tar.bz2
Updated package "platform" to version 1.0.13. Separated the
identifiers "macosx*-i386-x86_64" and "macosx-universal" as incompatible with each other. Plus addition of a cast in tclIO.c to match types in a comparison which otherwise bugs a Windows debug build (warnings are errors).
Diffstat (limited to 'generic/tclIO.c')
-rw-r--r--generic/tclIO.c2
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