summaryrefslogtreecommitdiff
path: root/sql/opt_range.cc
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@mariadb.com>2017-09-28 12:21:16 +0000
committerVladislav Vaintroub <wlad@mariadb.com>2017-09-28 17:20:46 +0000
commitccf21c99623caa8596ed2eecc72dcb039ef0ef54 (patch)
tree34208e6b16e2140a0898c5e6282806cdb8a946ae /sql/opt_range.cc
parent7354dc67737fdeb105656f5cec055da627bb9c29 (diff)
downloadmariadb-git-ccf21c99623caa8596ed2eecc72dcb039ef0ef54.tar.gz
fix some conversion warnings
Diffstat (limited to 'sql/opt_range.cc')
-rw-r--r--sql/opt_range.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/opt_range.cc b/sql/opt_range.cc
index f8f1d0a3efd..f06ae21fe9c 100644
--- a/sql/opt_range.cc
+++ b/sql/opt_range.cc
@@ -10912,7 +10912,7 @@ int read_keys_and_merge_scans(THD *thd,
unique= new Unique(refpos_order_cmp, (void *)file,
file->ref_length,
- thd->variables.sortbuff_size,
+ (size_t)thd->variables.sortbuff_size,
intersection ? quick_selects.elements : 0);
if (!unique)
goto err;