summaryrefslogtreecommitdiffstats
path: root/generic
diff options
context:
space:
mode:
authorKevin B Kenny <kennykb@acm.org>2007-04-15 18:59:31 (GMT)
committerKevin B Kenny <kennykb@acm.org>2007-04-15 18:59:31 (GMT)
commit9884845dfb273bf59b75b1d7f58b2de7afaf5863 (patch)
treeb0946b34be7ab6aa2fea8e8fc070c3436222dd9d /generic
parent5a6b65068cccb6e5109ddd85bd447bffbbf2f335 (diff)
downloadtcl-9884845dfb273bf59b75b1d7f58b2de7afaf5863.zip
tcl-9884845dfb273bf59b75b1d7f58b2de7afaf5863.tar.gz
tcl-9884845dfb273bf59b75b1d7f58b2de7afaf5863.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.
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