summaryrefslogtreecommitdiff
path: root/src/devpoll.cpp
diff options
context:
space:
mode:
authorMikko Koppanen <mkoppanen@php.net>2010-10-15 11:21:56 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-10-15 11:21:56 +0200
commit3e74a439c4b7901f3d3607a2d4142266bc1781b4 (patch)
treefd78e46af2246e19d7cadf3d0129d751dfe33f94 /src/devpoll.cpp
parentb64b50ae218dbbc362eaeb0571a337650f623e3c (diff)
Cast execute_timers() result to int
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
Diffstat (limited to 'src/devpoll.cpp')
-rw-r--r--src/devpoll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/devpoll.cpp b/src/devpoll.cpp
index bfca042..fa6f484 100644
--- a/src/devpoll.cpp
+++ b/src/devpoll.cpp
@@ -150,7 +150,7 @@ void zmq::devpoll_t::loop ()
pending_list.clear ();
// Execute any due timers.
- uint64_t timeout = execute_timers ();
+ int timeout = (int) execute_timers ();
// Wait for events.
poll_req.dp_fds = &ev_buf [0];