Commit 6d9a7ada authored by Konstantin Osipov's avatar Konstantin Osipov

Fix a Windows compilation warning (req_count is later used

in a pointer arithmetics expression).
parent ff6fd58d
......@@ -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;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment