diff options
author | hobbs <hobbs> | 2002-09-02 19:14:04 (GMT) |
---|---|---|
committer | hobbs <hobbs> | 2002-09-02 19:14:04 (GMT) |
commit | cc43e2b4c0cff54cae18617b383e957bc6f04acd (patch) | |
tree | 27e3558b84889e655211b6084665f144a25536e8 | |
parent | 43c56e1fb3665b16dcbcc2b6ee6c2dce8ae0f5b0 (diff) | |
download | tk-cc43e2b4c0cff54cae18617b383e957bc6f04acd.zip tk-cc43e2b4c0cff54cae18617b383e957bc6f04acd.tar.gz tk-cc43e2b4c0cff54cae18617b383e957bc6f04acd.tar.bz2 |
added int cast to prevent warning
-rw-r--r-- | generic/tkTest.c | 5 |
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; |