Commit 9e6b3992 authored by Martin Sustrik's avatar Martin Sustrik

Couple of minor issues in MSVC build fixed

Signed-off-by: 's avatarMartin Sustrik <sustrik@250bpm.com>
parent da7b6d0b
......@@ -682,7 +682,7 @@ int zmq::pgm_socket_t::compute_sqns (int tpdu_)
if (sqns == 0)
sqns = 1;
return sqns;
return (int) sqns;
}
#endif
......
......@@ -93,7 +93,7 @@ int zmq::tcp_socket_t::write (const void *data_, size_t size_)
return (size_t) nbytes;
}
int zmq::tcp_socket_t::read (void *data_, size_t size)
int zmq::tcp_socket_t::read (void *data_, size_t size_)
{
int nbytes = recv (s, (char*) data_, (int) size_, 0);
......
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