summaryrefslogtreecommitdiffstats
path: root/generic/tkFrame.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkFrame.c')
-rw-r--r--generic/tkFrame.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkFrame.c b/generic/tkFrame.c
index 2e7081a..90b3e95 100644
--- a/generic/tkFrame.c
+++ b/generic/tkFrame.c
@@ -728,7 +728,7 @@ FrameWidgetObjCmd(
return TCL_ERROR;
}
if (Tcl_GetIndexFromObjStruct(interp, objv[1], frameOptions,
- sizeof(char), "option", 0, &index) != TCL_OK) {
+ sizeof(char *), "option", 0, &index) != TCL_OK) {
return TCL_ERROR;
}
Tcl_Preserve(framePtr);