summaryrefslogtreecommitdiffstats
path: root/generic/tclCmdAH.c
diff options
context:
space:
mode:
authornijtmans <nijtmans@noemail.net>2009-08-16 12:25:05 (GMT)
committernijtmans <nijtmans@noemail.net>2009-08-16 12:25:05 (GMT)
commitfcf3f8cc74d77f889aa92c3fac0287662bf2f1eb (patch)
treed272c48e1074c07f1288cbee9a4e169a53707e45 /generic/tclCmdAH.c
parent86203b33c963d45f235ef1f1a0ff509f0dfd48fe (diff)
downloadtcl-fcf3f8cc74d77f889aa92c3fac0287662bf2f1eb.zip
tcl-fcf3f8cc74d77f889aa92c3fac0287662bf2f1eb.tar.gz
tcl-fcf3f8cc74d77f889aa92c3fac0287662bf2f1eb.tar.bz2
Change ForIterData, make it const-safe.
FossilOrigin-Name: 9a9f088f2c97b966580244b10d16d96a15287c95
Diffstat (limited to 'generic/tclCmdAH.c')
-rw-r--r--generic/tclCmdAH.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdAH.c b/generic/tclCmdAH.c
index 85b098a..44fe3d6 100644
--- a/generic/tclCmdAH.c
+++ b/generic/tclCmdAH.c
@@ -10,7 +10,7 @@
* See the file "license.terms" for information on usage and redistribution of
* this file, and for a DISCLAIMER OF ALL WARRANTIES.
*
- * RCS: @(#) $Id: tclCmdAH.c,v 1.119 2009/08/12 16:06:43 dgp Exp $
+ * RCS: @(#) $Id: tclCmdAH.c,v 1.120 2009/08/16 12:25:07 nijtmans Exp $
*/
#include "tclInt.h"
@@ -1919,7 +1919,7 @@ TclNRForIterCallback(
Tcl_Obj *cond = iterPtr->cond;
Tcl_Obj *body = iterPtr->body;
Tcl_Obj *next = iterPtr->next;
- char *msg = iterPtr->msg;
+ const char *msg = iterPtr->msg;
int value;
if ((result != TCL_OK) && (result != TCL_CONTINUE)) {