summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
diff options
context:
space:
mode:
authorpatthoyts@users.sourceforge.net <patthoyts>2007-06-28 21:10:37 (GMT)
committerpatthoyts@users.sourceforge.net <patthoyts>2007-06-28 21:10:37 (GMT)
commitbf5e8e4096fdf7382d26d379458e7cd914c38c45 (patch)
tree48212fa321216730cf6755e79181eae112f44efa /generic/tclCompCmds.c
parentdc1ac3033c0e102625c0c94d3ba1cb259e195c6b (diff)
downloadtcl-bf5e8e4096fdf7382d26d379458e7cd914c38c45.zip
tcl-bf5e8e4096fdf7382d26d379458e7cd914c38c45.tar.gz
tcl-bf5e8e4096fdf7382d26d379458e7cd914c38c45.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;
}