diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-02 16:30:09 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-02 16:30:09 (GMT) |
commit | e352e2b742b841376c7bfdc0c12cb5d198869a50 (patch) | |
tree | 8908347a6648d8d8f1dc6cfc3f6f91e920aa6198 /generic/tclEvent.c | |
parent | 438dbdc047dbc22f234da2b77c0ff395fc503bab (diff) | |
parent | b7c4b811ec358b518d9a5ceaf204a84a5e5b59a8 (diff) | |
download | tcl-e352e2b742b841376c7bfdc0c12cb5d198869a50.zip tcl-e352e2b742b841376c7bfdc0c12cb5d198869a50.tar.gz tcl-e352e2b742b841376c7bfdc0c12cb5d198869a50.tar.bz2 |
Merge 8.7
Diffstat (limited to 'generic/tclEvent.c')
-rw-r--r-- | generic/tclEvent.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclEvent.c b/generic/tclEvent.c index 4d473e4..13501b3 100644 --- a/generic/tclEvent.c +++ b/generic/tclEvent.c @@ -1491,7 +1491,7 @@ Tcl_UpdateObjCmd( int optionIndex; int flags = 0; /* Initialized to avoid compiler warning. */ static const char *const updateOptions[] = {"idletasks", NULL}; - enum updateOptions {OPT_IDLETASKS}; + enum updateOptionsEnum {OPT_IDLETASKS}; if (objc == 1) { flags = TCL_ALL_EVENTS|TCL_DONT_WAIT; @@ -1500,7 +1500,7 @@ Tcl_UpdateObjCmd( "option", 0, &optionIndex) != TCL_OK) { return TCL_ERROR; } - switch ((enum updateOptions) optionIndex) { + switch ((enum updateOptionsEnum) optionIndex) { case OPT_IDLETASKS: flags = TCL_WINDOW_EVENTS|TCL_IDLE_EVENTS|TCL_DONT_WAIT; break; |