diff options
author | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-02-19 13:43:01 +0100 |
---|---|---|
committer | Vladislav Vaintroub <wlad@montyprogram.com> | 2011-02-19 13:43:01 +0100 |
commit | 70a7e97e3cc32b0263e1428ca5fa27e720920dc2 (patch) | |
tree | 37590228b507a095340c11c7480fc47ccc2b57ac /sql/sql_lifo_buffer.h | |
parent | 28cb3b85b916f0f15d01660911871c4172021979 (diff) | |
download | mariadb-git-70a7e97e3cc32b0263e1428ca5fa27e720920dc2.tar.gz |
Fixed high-impact Windows 64bit warnings (at least 4000 of them)
Diffstat (limited to 'sql/sql_lifo_buffer.h')
-rw-r--r-- | sql/sql_lifo_buffer.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sql/sql_lifo_buffer.h b/sql/sql_lifo_buffer.h index af26f8b5652..34f9624436d 100644 --- a/sql/sql_lifo_buffer.h +++ b/sql/sql_lifo_buffer.h @@ -102,8 +102,8 @@ public: void sort(qsort2_cmp cmp_func, void *cmp_func_arg) { - uint elem_size= size1 + size2; - uint n_elements= used_size() / elem_size; + size_t elem_size= size1 + size2; + size_t n_elements= used_size() / elem_size; my_qsort2(used_area(), n_elements, elem_size, cmp_func, cmp_func_arg); } |