diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-03-10 19:06:33 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-03-10 19:07:07 +0000 |
commit | f2fe5cb2825144dcd8d2383bd38bc83fa4eafdf1 (patch) | |
tree | 531533b08d1e6a9d70ee7bbb835fce837c8de8bb /sql/set_var.cc | |
parent | 7c512138a19abd4d8e8761b1f0eb2bd8c9809a28 (diff) | |
download | mariadb-git-f2fe5cb2825144dcd8d2383bd38bc83fa4eafdf1.tar.gz |
Fix several compile warnings on Windows
Diffstat (limited to 'sql/set_var.cc')
-rw-r--r-- | sql/set_var.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/set_var.cc b/sql/set_var.cc index 004af2a5690..07395e3e708 100644 --- a/sql/set_var.cc +++ b/sql/set_var.cc @@ -401,7 +401,7 @@ double sys_var::val_real(bool *is_null, switch (show_type()) { case_get_string_as_lex_string; - case_for_integers(return val); + case_for_integers(return (double)val); case_for_double(return val); case SHOW_MY_BOOL: return *(my_bool*)value; default: |