summaryrefslogtreecommitdiffstats
path: root/generic/tclThreadTest.c
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2001-03-31 07:55:50 (GMT)
committerhobbs <hobbs@noemail.net>2001-03-31 07:55:50 (GMT)
commit752806d2ed860173994e468bb8382d2b6980485c (patch)
tree4f11090978dd0dda82b0210a8c060b2372e56d6f /generic/tclThreadTest.c
parent78f7656961e1fbec7e2c734a4703c7dbf913ccb5 (diff)
downloadtcl-752806d2ed860173994e468bb8382d2b6980485c.zip
tcl-752806d2ed860173994e468bb8382d2b6980485c.tar.gz
tcl-752806d2ed860173994e468bb8382d2b6980485c.tar.bz2
* generic/tclThreadTest.c (Tcl_ThreadObjCmd): cast fixes
FossilOrigin-Name: 6dcd4ef52968d0d2e8fc707db3b1b7f8f123fe41
Diffstat (limited to 'generic/tclThreadTest.c')
-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 {