Skip to content

Commit 276f1b9

Browse files
authored
Merge pull request #168 from sigiesec/patch-1
Problem: implicit type conversion warning
2 parents 8055314 + e325495 commit 276f1b9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

zmq.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -963,7 +963,7 @@ namespace zmq
963963

964964
bool wait (std::chrono::milliseconds timeout)
965965
{
966-
int rc = zmq_poller_wait_all (poller_ptr, poller_events.data (), poller_events.size (), static_cast<long>(timeout.count ()));
966+
int rc = zmq_poller_wait_all (poller_ptr, poller_events.data (), static_cast<int> (poller_events.size ()), static_cast<long>(timeout.count ()));
967967
if (rc >= 0) {
968968
std::for_each (poller_events.begin (), poller_events.begin () + rc, [](zmq_poller_event_t& event) {
969969
if (event.user_data != NULL)

0 commit comments

Comments
 (0)