summaryrefslogtreecommitdiffstats
path: root/generic/tkImgPNG.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkImgPNG.c')
-rw-r--r--generic/tkImgPNG.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgPNG.c b/generic/tkImgPNG.c
index 593ab12..f639694 100644
--- a/generic/tkImgPNG.c
+++ b/generic/tkImgPNG.c
@@ -2302,7 +2302,7 @@ ParseFormat(
int optIndex;
if (Tcl_GetIndexFromObjStruct(interp, objv[0], fmtOptions,
- sizeof(char), "option", 0, &optIndex) == TCL_ERROR) {
+ sizeof(char *), "option", 0, &optIndex) == TCL_ERROR) {
return TCL_ERROR;
}