diff options
author | Vladislav Vaintroub <wlad@mariadb.com> | 2017-10-27 19:21:58 +0000 |
---|---|---|
committer | Vladislav Vaintroub <wlad@mariadb.com> | 2017-10-27 19:21:58 +0000 |
commit | 769f0603986eee045efffe002609672682b96068 (patch) | |
tree | 08ee349ba544814cdf9355098209f31fcfef9702 /sql/sys_vars.ic | |
parent | a81ea75390f159dfa7ae4ee6f2dc1c337975935b (diff) | |
download | mariadb-git-769f0603986eee045efffe002609672682b96068.tar.gz |
Fix some warnings
Diffstat (limited to 'sql/sys_vars.ic')
-rw-r--r-- | sql/sys_vars.ic | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/sys_vars.ic b/sql/sys_vars.ic index da6d902a167..706240727c5 100644 --- a/sql/sys_vars.ic +++ b/sql/sys_vars.ic @@ -1767,7 +1767,7 @@ public: option.var_type|= GET_BIT; reverse_semantics= my_count_bits(bitmask_arg) > 1; bitmask= reverse_semantics ? ~bitmask_arg : bitmask_arg; - option.block_size= reverse_semantics ? -(long) bitmask : bitmask; + option.block_size= reverse_semantics ? -(long) bitmask : (long)bitmask; set(global_var_ptr(), def_val); SYSVAR_ASSERT(def_val < 2); SYSVAR_ASSERT(size == sizeof(ulonglong)); |