summaryrefslogtreecommitdiff
path: root/src/poll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/poll.cpp')
-rw-r--r--src/poll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/poll.cpp b/src/poll.cpp
index 1cab5bb..af50793 100644
--- a/src/poll.cpp
+++ b/src/poll.cpp
@@ -124,7 +124,7 @@ void zmq::poll_t::loop ()
while (!stopping) {
// Execute any due timers.
- uint64_t timeout = execute_timers ();
+ int timeout = (int) execute_timers ();
// Wait for events.
int rc = poll (&pollset [0], pollset.size (), timeout ? timeout : -1);