Cast execute_timers() result to int

Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
This commit is contained in:
Mikko Koppanen
2010-10-15 11:21:56 +02:00
committed by Martin Sustrik
parent b64b50ae21
commit 3e74a439c4
5 changed files with 5 additions and 5 deletions

View File

@@ -147,7 +147,7 @@ void zmq::kqueue_t::loop ()
while (!stopping) {
// Execute any due timers.
uint64_t timeout = execute_timers ();
int timeout = (int) execute_timers ();
// Wait for events.
struct kevent ev_buf [max_io_events];