summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs>2001-03-31 07:55:50 (GMT)
committerhobbs <hobbs>2001-03-31 07:55:50 (GMT)
commitbac1f905835bd292a9b98b9f085e389ffd0437e0 (patch)
tree4f11090978dd0dda82b0210a8c060b2372e56d6f
parent75d342b02911c8253dc621bd25e4c943f65e0f35 (diff)
downloadtcl-bac1f905835bd292a9b98b9f085e389ffd0437e0.zip
tcl-bac1f905835bd292a9b98b9f085e389ffd0437e0.tar.gz
tcl-bac1f905835bd292a9b98b9f085e389ffd0437e0.tar.bz2
* generic/tclThreadTest.c (Tcl_ThreadObjCmd): cast fixes
-rw-r--r--generic/tclThreadTest.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclThreadTest.c b/generic/tclThreadTest.c
index 51c40cd..78f376b 100644
--- a/generic/tclThreadTest.c
+++ b/generic/tclThreadTest.c
@@ -11,7 +11,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclThreadTest.c,v 1.10 2000/05/02 22:02:36 kupries Exp $
+ * RCS: @(#) $Id: tclThreadTest.c,v 1.11 2001/03/31 07:55:50 hobbs Exp $
*/
#include "tclInt.h"
@@ -252,7 +252,7 @@ Tcl_ThreadObjCmd(dummy, interp, objc, objv)
if ((len > 1) &&
(script [0] == '-') && (script [1] == 'j') &&
- (0 == strncmp (script, "-joinable", len))) {
+ (0 == strncmp (script, "-joinable", (size_t) len))) {
joinable = 1;
script = "testthread wait"; /* Just enter the event loop
*/
@@ -270,7 +270,7 @@ Tcl_ThreadObjCmd(dummy, interp, objc, objv)
joinable = ((len > 1) &&
(script [0] == '-') && (script [1] == 'j') &&
- (0 == strncmp (script, "-joinable", len)));
+ (0 == strncmp (script, "-joinable", (size_t) len)));
script = Tcl_GetString(objv[3]);
} else {