summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2010-04-29 20:53:46 +0200
committerMartin Sustrik <sustrik@250bpm.com>2010-04-29 20:53:46 +0200
commitbeb4da3c28cff501a33de34cec95ca110cd3084e (patch)
tree11518713bc1ef396d9b4617492e1f065455b407b /src
parentae93ed318a450d6d763a5f629d478467f7362b07 (diff)
windows port fixed
Diffstat (limited to 'src')
-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 ()