mirror of
https://github.com/zeromq/libzmq.git
synced 2025-03-10 07:56:09 +00:00
Fix fd_t variable casting on Windows platform
event_accepted() already accepts fd_t type and there is no reason to cast it to int type Moreover, on Windows x64 this leads to truncation memsize -> int
This commit is contained in:
parent
c971445025
commit
989dfc7801
@ -131,7 +131,7 @@ void zmq::tcp_listener_t::in_event ()
|
||||
session->inc_seqnum ();
|
||||
launch_child (session);
|
||||
send_attach (session, engine, false);
|
||||
socket->event_accepted (endpoint, (int) fd);
|
||||
socket->event_accepted (endpoint, fd);
|
||||
}
|
||||
|
||||
void zmq::tcp_listener_t::close ()
|
||||
|
Loading…
x
Reference in New Issue
Block a user