summaryrefslogtreecommitdiffstats
path: root/generic/tkMessage.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tkMessage.c')
-rw-r--r--generic/tkMessage.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkMessage.c b/generic/tkMessage.c
index ef07a7c..3e4bdce 100644
--- a/generic/tkMessage.c
+++ b/generic/tkMessage.c
@@ -319,7 +319,7 @@ MessageWidgetObjCmd(
}
if (Tcl_GetIndexFromObjStruct(interp, objv[1], optionStrings,
- sizeof(char), "option", 0, &index) != TCL_OK) {
+ sizeof(char *), "option", 0, &index) != TCL_OK) {
return TCL_ERROR;
}