Commit 8fb9d3c6 authored by Martin Sustrik's avatar Martin Sustrik

Merge branch 'master' of github.com:zeromq/libzmq

parents 6ae1be1a c687c7e6
...@@ -410,6 +410,10 @@ ...@@ -410,6 +410,10 @@
RelativePath="..\..\..\src\session.cpp" RelativePath="..\..\..\src\session.cpp"
> >
</File> </File>
<File
RelativePath="..\..\..\src\signaler.cpp"
>
</File>
<File <File
RelativePath="..\..\..\src\socket_base.cpp" RelativePath="..\..\..\src\socket_base.cpp"
> >
...@@ -568,10 +572,6 @@ ...@@ -568,10 +572,6 @@
RelativePath="..\..\..\src\i_engine.hpp" RelativePath="..\..\..\src\i_engine.hpp"
> >
</File> </File>
<File
RelativePath="..\..\..\src\i_inout.hpp"
>
</File>
<File <File
RelativePath="..\..\..\src\i_poll_events.hpp" RelativePath="..\..\..\src\i_poll_events.hpp"
> >
...@@ -712,6 +712,10 @@ ...@@ -712,6 +712,10 @@
RelativePath="..\..\..\src\session.hpp" RelativePath="..\..\..\src\session.hpp"
> >
</File> </File>
<File
RelativePath="..\..\..\src\signaler.hpp"
>
</File>
<File <File
RelativePath="..\..\..\src\socket_base.hpp" RelativePath="..\..\..\src\socket_base.hpp"
> >
......
...@@ -134,7 +134,7 @@ void zmq::signaler_t::send () ...@@ -134,7 +134,7 @@ void zmq::signaler_t::send ()
errno_assert (sz == sizeof (inc)); errno_assert (sz == sizeof (inc));
#elif defined ZMQ_HAVE_WINDOWS #elif defined ZMQ_HAVE_WINDOWS
unsigned char dummy = 0; unsigned char dummy = 0;
int nbytes = ::send (w, &dummy, sizeof (dummy), 0); int nbytes = ::send (w, (char*) &dummy, sizeof (dummy), 0);
wsa_assert (nbytes != SOCKET_ERROR); wsa_assert (nbytes != SOCKET_ERROR);
zmq_assert (nbytes == sizeof (dummy)); zmq_assert (nbytes == sizeof (dummy));
#else #else
...@@ -219,8 +219,8 @@ void zmq::signaler_t::recv () ...@@ -219,8 +219,8 @@ void zmq::signaler_t::recv ()
zmq_assert (dummy == 1); zmq_assert (dummy == 1);
#else #else
unsigned char dummy; unsigned char dummy;
#if ZMQ_HAVE_WINDOWS #if defined ZMQ_HAVE_WINDOWS
int nbytes = ::recv (r, &dummy, sizeof (dummy), 0); int nbytes = ::recv (r, (char*) &dummy, sizeof (dummy), 0);
wsa_assert (nbytes != SOCKET_ERROR); wsa_assert (nbytes != SOCKET_ERROR);
#else #else
ssize_t nbytes = ::recv (r, &dummy, sizeof (dummy), 0); ssize_t nbytes = ::recv (r, &dummy, sizeof (dummy), 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