summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorandreask <andreask>2014-08-01 18:36:50 (GMT)
committerandreask <andreask>2014-08-01 18:36:50 (GMT)
commit5a669c8fbb45b3321f07482c114152486d0600bf (patch)
treec4f4a4334523ac65319f1b376b9f9cbf422b7738 /generic
parentb0d81a985b3f707cc6228dd81e7ad1e6601b643b (diff)
downloadtcl-5a669c8fbb45b3321f07482c114152486d0600bf.zip
tcl-5a669c8fbb45b3321f07482c114152486d0600bf.tar.gz
tcl-5a669c8fbb45b3321f07482c114152486d0600bf.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')
-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