Unverified Commit 989dfc78 authored by Maks Naumov's avatar Maks Naumov Committed by GitHub

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
parent c9714450
......@@ -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 ()
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment