summaryrefslogtreecommitdiff
path: root/src/signaler.cpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-04-30 04:54:10 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-04-30 04:54:10 +0200
commit4a6bac1deaedb3c111c7e28b2933ed98367cb193 (patch)
tree06250b890595a4577587673c8a1c9756eec0433a /src/signaler.cpp
parentacfd0f8ca2d15111f35ae0034ed3ce130c96b910 (diff)
parentbeb4da3c28cff501a33de34cec95ca110cd3084e (diff)
Merge branch 'master' of git@github.com:sustrik/zeromq2
Diffstat (limited to 'src/signaler.cpp')
-rw-r--r--src/signaler.cpp4
1 files changed, 1 insertions, 3 deletions
diff --git a/src/signaler.cpp b/src/signaler.cpp
index 2d89eca..e1fa6a3 100644
--- a/src/signaler.cpp
+++ b/src/signaler.cpp
@@ -150,7 +150,7 @@ void zmq::signaler_t::signal (uint32_t signal_)
{
// TODO: Note that send is a blocking operation.
// How should we behave if the signal cannot be written to the signaler?
- int rc = send (w, &signal_, sizeof (signal_), 0);
+ int rc = send (w, (char*) &signal_, sizeof (signal_), 0);
win_assert (rc != SOCKET_ERROR);
zmq_assert (rc == sizeof (signal_));
}
@@ -171,8 +171,6 @@ void zmq::signaler_t::xpoll ()
argp = 1;
rc = ioctlsocket (r, FIONBIO, &argp);
wsa_assert (rc != SOCKET_ERROR);
-
- return signals;
}
void zmq::signaler_t::xcheck ()