diff options
author | dgp <dgp@noemail.net> | 2010-03-19 15:29:27 (GMT) |
---|---|---|
committer | dgp <dgp@noemail.net> | 2010-03-19 15:29:27 (GMT) |
commit | 69977c81b21f8c4ff69b9c2cc81a59625c95836a (patch) | |
tree | b54ae8d98281adf50b77ecff958c23a835ef4e8b /generic/tclTestObj.c | |
parent | b1b1469a9ec66d273940bdcb36fd29a17caf5f7c (diff) | |
download | tcl-69977c81b21f8c4ff69b9c2cc81a59625c95836a.zip tcl-69977c81b21f8c4ff69b9c2cc81a59625c95836a.tar.gz tcl-69977c81b21f8c4ff69b9c2cc81a59625c95836a.tar.bz2 |
constification backport to silence warning
FossilOrigin-Name: 702c70c91377ebbda62001c848388067d59d36f4
Diffstat (limited to 'generic/tclTestObj.c')
-rw-r--r-- | generic/tclTestObj.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/generic/tclTestObj.c b/generic/tclTestObj.c index 0326208..53cf2ac 100644 --- a/generic/tclTestObj.c +++ b/generic/tclTestObj.c @@ -13,7 +13,7 @@ * See the file "license.terms" for information on usage and redistribution of * this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tclTestObj.c,v 1.21.2.2 2010/03/18 20:38:43 dgp Exp $ + * RCS: @(#) $Id: tclTestObj.c,v 1.21.2.3 2010/03/19 15:29:28 dgp Exp $ */ #include "tclInt.h" @@ -34,7 +34,7 @@ static Tcl_Obj *varPtr[NUMBER_OF_OBJECT_VARS]; static int CheckIfVarUnset(Tcl_Interp *interp, int varIndex); static int GetVariableIndex(Tcl_Interp *interp, - char *string, int *indexPtr); + const char *string, int *indexPtr); static void SetVarToObj(int varIndex, Tcl_Obj *objPtr); int TclObjTest_Init(Tcl_Interp *interp); static int TestbignumobjCmd(ClientData dummy, Tcl_Interp *interp, @@ -1387,7 +1387,7 @@ SetVarToObj( static int GetVariableIndex( Tcl_Interp *interp, /* Interpreter for error reporting. */ - char *string, /* String containing a variable index + const char *string, /* String containing a variable index * specified as a nonnegative number less than * NUMBER_OF_OBJECT_VARS. */ int *indexPtr) /* Place to store converted result. */ |