summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorkennykb <kennykb@noemail.net>2007-04-15 18:59:30 (GMT)
committerkennykb <kennykb@noemail.net>2007-04-15 18:59:30 (GMT)
commit5c2af7d32e908bc876c6a0140e6271a4e6ca45f1 (patch)
treeb0946b34be7ab6aa2fea8e8fc070c3436222dd9d /generic
parent00367cabbeb61fea4b64ef8042c8e5aab850b30a (diff)
downloadtcl-5c2af7d32e908bc876c6a0140e6271a4e6ca45f1.zip
tcl-5c2af7d32e908bc876c6a0140e6271a4e6ca45f1.tar.gz
tcl-5c2af7d32e908bc876c6a0140e6271a4e6ca45f1.tar.bz2
* generic/tclCompCmds.c: added a cast to silence a compiler
error on VC2005. * library/clock.tcl: Restored unique-prefix matching of keywords on the [clock] command. [Bug 1690041] * tests/clock.test: Added rudimentary test cases for unique-prefix matching of keywords. FossilOrigin-Name: 83ba629c74b4d47a1c0eb23c4e2444903dcd0b30
Diffstat (limited to 'generic')
-rw-r--r--generic/tclCompCmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index 8852f45..04f6bd5 100644
--- a/generic/tclCompCmds.c
+++ b/generic/tclCompCmds.c
@@ -12,7 +12,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCompCmds.c,v 1.107 2007/04/11 03:18:36 msofer Exp $
+ * RCS: @(#) $Id: tclCompCmds.c,v 1.108 2007/04/15 18:59:34 kennykb Exp $
*/
#include "tclInt.h"
@@ -1440,7 +1440,7 @@ TclCompileForeachCmd(
memset(varcList, 0, numLists * sizeof(int));
varvList = (const char ***) TclStackAlloc(interp,
numLists * sizeof(const char **));
- memset(varvList, 0, numLists * sizeof(const char **));
+ memset((char*) varvList, 0, numLists * sizeof(const char **));
/*
* Break up each var list and set the varcList and varvList arrays. Don't