summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@users.sourceforge.net>2007-06-28 21:10:37 (GMT)
committerpatthoyts <patthoyts@users.sourceforge.net>2007-06-28 21:10:37 (GMT)
commit44df239c47c8db35ef6ed2cb410ebf367a062d95 (patch)
tree48212fa321216730cf6755e79181eae112f44efa /generic/tclCompCmds.c
parente1bb8afe489c46336d1fbc4a223e26a9b3979121 (diff)
downloadtcl-44df239c47c8db35ef6ed2cb410ebf367a062d95.zip
tcl-44df239c47c8db35ef6ed2cb410ebf367a062d95.tar.gz
tcl-44df239c47c8db35ef6ed2cb410ebf367a062d95.tar.bz2
Silence constness warnings for TclStackFree when building with msvc.
Diffstat (limited to 'generic/tclCompCmds.c')
-rw-r--r--generic/tclCompCmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCompCmds.c b/generic/tclCompCmds.c
index 3801886..c50849b 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.111 2007/06/20 18:46:11 dgp Exp $
+ * RCS: @(#) $Id: tclCompCmds.c,v 1.112 2007/06/28 21:10:38 patthoyts Exp $
*/
#include "tclInt.h"
@@ -1665,7 +1665,7 @@ TclCompileForeachCmd(
ckfree((char *) varvList[loopIndex]);
}
}
- TclStackFree(interp, varvList);
+ TclStackFree(interp, (void *)varvList);
TclStackFree(interp, varcList);
return code;
}