Fix MSVC build

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-06-23 08:51:48 +02:00
parent d1373792f7
commit 770d0bc77c
14 changed files with 51 additions and 20 deletions

View File

@@ -100,7 +100,8 @@ void zmq::xpub_t::mark_as_matching (pipe_t *pipe_, void *arg_)
int zmq::xpub_t::xsend (msg_t *msg_, int flags_)
{
bool msg_more = msg_->flags () & (msg_t::more | msg_t::label);
bool msg_more =
msg_->flags () & (msg_t::more | msg_t::label) ? true : false;
// For the first part of multi-part message, find the matching pipes.
if (!more)