summaryrefslogtreecommitdiffstats
path: root/generic/tkBusy.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-11 13:03:30 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2020-03-11 13:03:30 (GMT)
commitf734823e12648903b16fe8b38bb9ee48454ad6a4 (patch)
tree610a619c6f3cba3910a5070cd03883f9bef99649 /generic/tkBusy.c
parent4965fa07310bf1b153dcb200719fc1c4aaded61c (diff)
downloadtk-f734823e12648903b16fe8b38bb9ee48454ad6a4.zip
tk-f734823e12648903b16fe8b38bb9ee48454ad6a4.tar.gz
tk-f734823e12648903b16fe8b38bb9ee48454ad6a4.tar.bz2
Eliminate More C++-related warnings, when compiling against Tcl 9.0 headers.
Diffstat (limited to 'generic/tkBusy.c')
-rw-r--r--generic/tkBusy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/generic/tkBusy.c b/generic/tkBusy.c
index d1f2696..ae11374 100644
--- a/generic/tkBusy.c
+++ b/generic/tkBusy.c
@@ -23,7 +23,7 @@
static const Tk_OptionSpec busyOptionSpecs[] = {
{TK_OPTION_CURSOR, "-cursor", "cursor", "Cursor",
- DEF_BUSY_CURSOR, -1, offsetof(Busy, cursor),
+ DEF_BUSY_CURSOR, TCL_AUTO_LENGTH, offsetof(Busy, cursor),
TK_OPTION_NULL_OK, 0, 0},
{TK_OPTION_END, NULL, NULL, NULL, NULL, 0, 0, 0, 0, 0}
};