summaryrefslogtreecommitdiffstats
path: root/generic/tclCompCmds.c
diff options
context:
space:
mode:
authorpatthoyts <patthoyts@noemail.net>2007-06-28 21:10:37 (GMT)
committerpatthoyts <patthoyts@noemail.net>2007-06-28 21:10:37 (GMT)
commit8903ef776c43c52b6cf325f514ecec6a4d0af6d4 (patch)
tree48212fa321216730cf6755e79181eae112f44efa /generic/tclCompCmds.c
parenta13a1259c332a3660ce4712998424cf2c976e131 (diff)
downloadtcl-8903ef776c43c52b6cf325f514ecec6a4d0af6d4.zip
tcl-8903ef776c43c52b6cf325f514ecec6a4d0af6d4.tar.gz
tcl-8903ef776c43c52b6cf325f514ecec6a4d0af6d4.tar.bz2
Silence constness warnings for TclStackFree when building with msvc.
FossilOrigin-Name: e7805530ef3bc12e7f28716d94953b2ead971f41
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;
}