Commit 4b4c371f authored by Marko Mäkelä's avatar Marko Mäkelä

MDEV-34297 fixup: -Wconversion on 32-bit

parent 3271588b
......@@ -56,7 +56,7 @@ struct ib_counter_t {
/** Add to the counter.
@param[in] n amount to be added */
void add(Type n) { add(my_pseudo_random(), n); }
void add(Type n) { add(size_t(my_pseudo_random()), n); }
/** Add to the counter.
@param[in] index a reasonably thread-unique identifier
......
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