diff options
author | Sergei Golubchik <serg@mariadb.org> | 2022-05-06 01:13:05 +0200 |
---|---|---|
committer | Sergei Golubchik <serg@mariadb.org> | 2022-05-15 20:37:51 +0200 |
commit | 29c07643a162d614dcb3ec6d69992bdd1df37cd6 (patch) | |
tree | 2760e6d394f929bb9388ba4c71c2224a30cc53dc /sql/gcalc_tools.cc | |
parent | 16cebed54065ad9e18953aa86d48f6007d53c2d3 (diff) | |
download | mariadb-git-29c07643a162d614dcb3ec6d69992bdd1df37cd6.tar.gz |
enable -Wenum-compare -Wenum-conversion
to make the all headers -std=c++20 clean for those, who need c++20
(some plugins)
Diffstat (limited to 'sql/gcalc_tools.cc')
-rw-r--r-- | sql/gcalc_tools.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/gcalc_tools.cc b/sql/gcalc_tools.cc index 307f063fb43..25c80a7a796 100644 --- a/sql/gcalc_tools.cc +++ b/sql/gcalc_tools.cc @@ -132,7 +132,7 @@ int Gcalc_function::count_internal(const char *cur_func, uint set_type, int mask= (c_op & op_not) ? 1:0; uint n_ops= c_op & ~(op_any | op_not | v_mask); uint n_shape= c_op & ~(op_any | op_not | v_mask); /* same as n_ops */ - value v_state= (value) (c_op & v_mask); + op_type v_state= (op_type) (c_op & v_mask); int result= 0; const char *sav_cur_func= cur_func; |