mirror of
https://github.com/zeromq/libzmq.git
synced 2025-11-06 21:56:25 +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
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user