summaryrefslogtreecommitdiffstats
path: root/generic/tkConsole.c
diff options
context:
space:
mode:
authorwart <wart>1999-06-17 01:03:28 (GMT)
committerwart <wart>1999-06-17 01:03:28 (GMT)
commit1a20b82fb386c6b944ff3d78e206db223313c151 (patch)
treeaaa0225ebf7943a6133f2a30a2a06e79779292e5 /generic/tkConsole.c
parentb7a7df05b3026d867afcd0efea1bb6d134c560de (diff)
downloadtk-1a20b82fb386c6b944ff3d78e206db223313c151.zip
tk-1a20b82fb386c6b944ff3d78e206db223313c151.tar.gz
tk-1a20b82fb386c6b944ff3d78e206db223313c151.tar.bz2
Cast third argument of Tcl_DStringAppend to (int) value in case the
strlen() function returned a different type.
Diffstat (limited to 'generic/tkConsole.c')
-rw-r--r--generic/tkConsole.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkConsole.c b/generic/tkConsole.c
index adae241..b534be1 100644
--- a/generic/tkConsole.c
+++ b/generic/tkConsole.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution
* of this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tkConsole.c,v 1.8 1999/06/17 00:39:18 wart Exp $
+ * RCS: @(#) $Id: tkConsole.c,v 1.9 1999/06/17 01:03:28 wart Exp $
*/
#include "tk.h"
@@ -700,7 +700,7 @@ TkConsolePrint(interp, devId, buffer, size)
Tcl_DStringAppend(&output, buffer, size);
Tcl_DStringInit(&command);
- Tcl_DStringAppend(&command, cmd, strlen(cmd));
+ Tcl_DStringAppend(&command, cmd, (int) strlen(cmd));
Tcl_DStringAppendElement(&command, output.string);
consoleInterp = info->consoleInterp;