summaryrefslogtreecommitdiffstats
path: root/generic/tkOption.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkOption.c')
-rw-r--r--generic/tkOption.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkOption.c b/generic/tkOption.c
index 9a6b306..2a8d501 100644
--- a/generic/tkOption.c
+++ b/generic/tkOption.c
@@ -632,7 +632,7 @@ Tk_OptionObjCmd(
}
result = Tcl_GetIndexFromObjStruct(interp, objv[1], optionCmds,
- sizeof(char), "option", 0, &index);
+ sizeof(char *), "option", 0, &index);
if (result != TCL_OK) {
return result;
}