mirror of
https://github.com/zeromq/libzmq.git
synced 2025-10-26 10:32:58 +01:00
Fix integer narrowing issues.
This commit is contained in:
@@ -928,7 +928,7 @@ void zmq::stream_engine_t::error (error_reason_t reason)
|
||||
terminator.close();
|
||||
}
|
||||
zmq_assert (session);
|
||||
socket->event_disconnected (endpoint, s);
|
||||
socket->event_disconnected (endpoint, (int) s);
|
||||
session->flush ();
|
||||
session->engine_error (reason);
|
||||
unplug ();
|
||||
|
||||
Reference in New Issue
Block a user