summaryrefslogtreecommitdiffstats
path: root/generic/tkConfig.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkConfig.c')
-rw-r--r--generic/tkConfig.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkConfig.c b/generic/tkConfig.c
index e3a8401..375bca7 100644
--- a/generic/tkConfig.c
+++ b/generic/tkConfig.c
@@ -738,7 +738,7 @@ DoObjConfig(
int newValue;
if (Tcl_GetIndexFromObjStruct(interp, valuePtr,
- optionPtr->specPtr->clientData, sizeof(char),
+ optionPtr->specPtr->clientData, sizeof(char *),
optionPtr->specPtr->optionName+1, 0, &newValue) != TCL_OK) {
return TCL_ERROR;
}