mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-30 13:47:13 +01:00
Cast execute_timers() result to int
Signed-off-by: Mikko Koppanen <mkoppanen@php.net>
This commit is contained in:
committed by
Martin Sustrik
parent
b64b50ae21
commit
3e74a439c4
@@ -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];
|
||||
|
||||
Reference in New Issue
Block a user