mirror of
https://github.com/zeromq/libzmq.git
synced 2024-12-12 18:40:27 +01:00
Problem: compiler error with GCC 11
Solution: downcast size to uint32_t to match vector size range
This commit is contained in:
parent
02be28e86b
commit
b82777bfb6
@ -558,7 +558,7 @@ visit_keys (node_t node_,
|
||||
for (size_t i = 0, edgecount = node_.edgecount (); i < edgecount; ++i) {
|
||||
visit_keys (node_.node_at (i), buffer_, func_, arg_);
|
||||
}
|
||||
buffer_.resize (buffer_.size () - prefix_length);
|
||||
buffer_.resize (static_cast<uint32_t> (buffer_.size () - prefix_length));
|
||||
}
|
||||
|
||||
void zmq::radix_tree_t::apply (
|
||||
|
Loading…
Reference in New Issue
Block a user