diff options
author | dgp <dgp@users.sourceforge.net> | 2002-01-17 05:13:11 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2002-01-17 05:13:11 (GMT) |
commit | e18b826ed756e177fc0e6f96fed210bf26bcb8b7 (patch) | |
tree | a64645a35b960e288a19b038e87f81a9248f5709 /generic/tkConfig.c | |
parent | e2d6df79c697064b173e14f29a157733ad3a9a6f (diff) | |
download | tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.zip tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.tar.gz tk-e18b826ed756e177fc0e6f96fed210bf26bcb8b7.tar.bz2 |
* Updates to handle change in type of tablePtr
argument of Tcl_GetIndexFromObj(Struct) from (char **) to
(CONST char **). [TIP 27] [Patch 504705]
Diffstat (limited to 'generic/tkConfig.c')
-rw-r--r-- | generic/tkConfig.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tkConfig.c b/generic/tkConfig.c index ab8b55f..e82b2ed 100644 --- a/generic/tkConfig.c +++ b/generic/tkConfig.c @@ -9,7 +9,7 @@ * See the file "license.terms" for information on usage and redistribution * of this file, and for a DISCLAIMER OF ALL WARRANTIES. * - * RCS: @(#) $Id: tkConfig.c,v 1.15 2001/08/15 15:44:36 dkf Exp $ + * RCS: @(#) $Id: tkConfig.c,v 1.16 2002/01/17 05:13:11 dgp Exp $ */ /* @@ -743,7 +743,7 @@ DoObjConfig(interp, recordPtr, optionPtr, valuePtr, tkwin, savedOptionPtr) int new; if (Tcl_GetIndexFromObj(interp, valuePtr, - (char **) optionPtr->specPtr->clientData, + (CONST char **) optionPtr->specPtr->clientData, optionPtr->specPtr->optionName+1, 0, &new) != TCL_OK) { return TCL_ERROR; } |