summaryrefslogtreecommitdiff
path: root/sql/sys_vars.ic
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-10-27 19:21:58 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-10-27 19:21:58 +0000
commit769f0603986eee045efffe002609672682b96068 (patch)
tree08ee349ba544814cdf9355098209f31fcfef9702 /sql/sys_vars.ic
parenta81ea75390f159dfa7ae4ee6f2dc1c337975935b (diff)
downloadmariadb-git-769f0603986eee045efffe002609672682b96068.tar.gz
Fix some warnings
Diffstat (limited to 'sql/sys_vars.ic')
-rw-r--r--sql/sys_vars.ic2
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));