diff options
author | Konstantin Osipov <kostja@sun.com> | 2010-02-01 17:12:56 +0300 |
---|---|---|
committer | Konstantin Osipov <kostja@sun.com> | 2010-02-01 17:12:56 +0300 |
commit | 83d538493117fde9821bdf0aaf546edcb7fe5188 (patch) | |
tree | de14bc5683a5cdf0785d016bf8f810c0b2401690 /sql/mdl.cc | |
parent | eba5d30e67aedf4a8d55380ec933306cce7b7563 (diff) | |
download | mariadb-git-83d538493117fde9821bdf0aaf546edcb7fe5188.tar.gz |
Fix a Windows compilation warning (req_count is later used
in a pointer arithmetics expression).
Diffstat (limited to 'sql/mdl.cc')
-rw-r--r-- | sql/mdl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/sql/mdl.cc b/sql/mdl.cc index 3148571131a..1990ce2800b 100644 --- a/sql/mdl.cc +++ b/sql/mdl.cc @@ -1543,7 +1543,7 @@ bool MDL_context::acquire_locks(MDL_request_list *mdl_requests) { MDL_request_list::Iterator it(*mdl_requests); MDL_request **sort_buf, **p_req; - uint req_count= mdl_requests->elements(); + ssize_t req_count= static_cast<ssize_t>(mdl_requests->elements()); if (req_count == 0) return FALSE; |