diff options
author | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-02 16:28:09 (GMT) |
---|---|---|
committer | jan.nijtmans <nijtmans@users.sourceforge.net> | 2020-10-02 16:28:09 (GMT) |
commit | b7c4b811ec358b518d9a5ceaf204a84a5e5b59a8 (patch) | |
tree | e0bc5a6114da04b2bb9a713ea069b83d14620b23 /generic/tclCmdIL.c | |
parent | cb6ae544245fea42d68f1f1c0c3ab5fd92babcaf (diff) | |
download | tcl-b7c4b811ec358b518d9a5ceaf204a84a5e5b59a8.zip tcl-b7c4b811ec358b518d9a5ceaf204a84a5e5b59a8.tar.gz tcl-b7c4b811ec358b518d9a5ceaf204a84a5e5b59a8.tar.bz2 |
Fix -Wshadow warnings, when compiling with a C++ compiler
Diffstat (limited to 'generic/tclCmdIL.c')
-rw-r--r-- | generic/tclCmdIL.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/generic/tclCmdIL.c b/generic/tclCmdIL.c index df2decb..e8e69b2 100644 --- a/generic/tclCmdIL.c +++ b/generic/tclCmdIL.c @@ -3157,7 +3157,7 @@ Tcl_LsearchObjCmd( "-real", "-regexp", "-sorted", "-start", "-stride", "-subindices", NULL }; - enum options { + enum lsearchoptions { LSEARCH_ALL, LSEARCH_ASCII, LSEARCH_BISECT, LSEARCH_DECREASING, LSEARCH_DICTIONARY, LSEARCH_EXACT, LSEARCH_GLOB, LSEARCH_INCREASING, LSEARCH_INDEX, LSEARCH_INLINE, LSEARCH_INTEGER, LSEARCH_NOCASE, @@ -3205,7 +3205,7 @@ Tcl_LsearchObjCmd( result = TCL_ERROR; goto done; } - switch ((enum options) index) { + switch ((enum lsearchoptions) index) { case LSEARCH_ALL: /* -all */ allMatches = 1; break; |