summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorhobbs <hobbs@noemail.net>2002-09-02 19:14:03 (GMT)
committerhobbs <hobbs@noemail.net>2002-09-02 19:14:03 (GMT)
commitde92349bebcb8216582feb9fa0b0f0918e5651d8 (patch)
tree27e3558b84889e655211b6084665f144a25536e8
parent7f7a0344a2c0ade83891e3e26802e4485ab7fe3d (diff)
downloadtk-de92349bebcb8216582feb9fa0b0f0918e5651d8.zip
tk-de92349bebcb8216582feb9fa0b0f0918e5651d8.tar.gz
tk-de92349bebcb8216582feb9fa0b0f0918e5651d8.tar.bz2
added int cast to prevent warning
FossilOrigin-Name: 28480d0bfbef282880031e34d7bdb6380bd7058a
-rw-r--r--generic/tkTest.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/generic/tkTest.c b/generic/tkTest.c
index 29ed408..5392fa3 100644
--- a/generic/tkTest.c
+++ b/generic/tkTest.c
@@ -13,7 +13,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkTest.c,v 1.20 2002/08/31 06:12:27 das Exp $
+ * RCS: @(#) $Id: tkTest.c,v 1.21 2002/09/02 19:14:04 hobbs Exp $
*/
#include "tkInt.h"
@@ -2257,7 +2257,8 @@ TestsendCmd(clientData, interp, argc, argv)
Tcl_DString tmp;
Tcl_DStringInit(&tmp);
- for (p = Tcl_DStringAppend(&tmp, argv[4], strlen(argv[4]));
+ for (p = Tcl_DStringAppend(&tmp, argv[4],
+ (int) strlen(argv[4]));
*p != 0; p++) {
if (*p == '\n') {
*p = 0;