diff options
author | nijtmans <nijtmans> | 2009-08-16 12:25:06 (GMT) |
---|---|---|
committer | nijtmans <nijtmans> | 2009-08-16 12:25:06 (GMT) |
commit | 7224aab4417a253cc7246233a59a1a0e368ce191 (patch) | |
tree | d272c48e1074c07f1288cbee9a4e169a53707e45 /generic/tclInt.h | |
parent | 03f782be0e25217842dcc317a1055d15054f2ca6 (diff) | |
download | tcl-7224aab4417a253cc7246233a59a1a0e368ce191.zip tcl-7224aab4417a253cc7246233a59a1a0e368ce191.tar.gz tcl-7224aab4417a253cc7246233a59a1a0e368ce191.tar.bz2 |
Change ForIterData, make it const-safe.
Diffstat (limited to 'generic/tclInt.h')
-rw-r--r-- | generic/tclInt.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclInt.h b/generic/tclInt.h index b441bf6b..a381678 100644 --- a/generic/tclInt.h +++ b/generic/tclInt.h @@ -15,7 +15,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclInt.h,v 1.433 2009/08/12 16:06:44 dgp Exp $ + * RCS: @(#) $Id: tclInt.h,v 1.434 2009/08/16 12:25:06 nijtmans Exp $ */ #ifndef _TCLINT @@ -2638,7 +2638,7 @@ typedef struct ForIterData { Tcl_Obj* cond; /* loop condition expression */ Tcl_Obj* body; /* loop body */ Tcl_Obj* next; /* loop step script, NULL for 'while' */ - char* msg; /* error message part */ + const char* msg; /* error message part */ int word; /* Index of the body script in the command */ } ForIterData; |