summaryrefslogtreecommitdiffstats
path: root/generic/tkImage.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkImage.c')
-rw-r--r--generic/tkImage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImage.c b/generic/tkImage.c
index 930fb7d..e22b735 100644
--- a/generic/tkImage.c
+++ b/generic/tkImage.c
@@ -235,7 +235,7 @@ Tk_ImageObjCmd(
}
if (Tcl_GetIndexFromObjStruct(interp, objv[1], imageOptions,
- sizeof(char), "option", 0, &index) != TCL_OK) {
+ sizeof(char *), "option", 0, &index) != TCL_OK) {
return TCL_ERROR;
}
switch ((enum options) index) {