We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents a4459ab + 0feecde commit 4d79066Copy full SHA for 4d79066
zmq.hpp
@@ -131,7 +131,7 @@ namespace zmq
131
132
inline int poll(zmq_pollitem_t const* items, size_t nitems)
133
{
134
- return poll(items, nitems, -1 );
+ return poll(items, static_cast<int>(nitems), -1);
135
}
136
137
#ifdef ZMQ_CPP11
@@ -147,7 +147,7 @@ namespace zmq
147
148
inline int poll(std::vector<zmq_pollitem_t> const& items, long timeout_ = -1)
149
150
- return poll(items.data(), items.size(), timeout_);
+ return poll(items.data(), static_cast<int>(items.size()), timeout_);
151
152
#endif
153
0 commit comments