summaryrefslogtreecommitdiffstats
path: root/generic/tkImgGIF.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkImgGIF.c')
-rw-r--r--generic/tkImgGIF.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkImgGIF.c b/generic/tkImgGIF.c
index 4de086d..27de486 100644
--- a/generic/tkImgGIF.c
+++ b/generic/tkImgGIF.c
@@ -426,7 +426,7 @@ FileReadGIF(
}
for (i = 1; i < argc; i++) {
if (Tcl_GetIndexFromObjStruct(interp, objv[i], optionStrings,
- sizeof(char), "option name", 0, &nBytes) != TCL_OK) {
+ sizeof(char *), "option name", 0, &nBytes) != TCL_OK) {
return TCL_ERROR;
}
if (i == (argc-1)) {