summaryrefslogtreecommitdiff
path: root/sql/sql_lifo_buffer.h
diff options
context:
space:
mode:
authorVladislav Vaintroub <wlad@montyprogram.com>2011-02-19 13:43:01 +0100
committerVladislav Vaintroub <wlad@montyprogram.com>2011-02-19 13:43:01 +0100
commit70a7e97e3cc32b0263e1428ca5fa27e720920dc2 (patch)
tree37590228b507a095340c11c7480fc47ccc2b57ac /sql/sql_lifo_buffer.h
parent28cb3b85b916f0f15d01660911871c4172021979 (diff)
downloadmariadb-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.h4
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);
}