From 770d0bc77cd1579a1cba33ba1eb3f06839c28c16 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 23 Jun 2011 08:51:48 +0200 Subject: Fix MSVC build Signed-off-by: Martin Sustrik --- src/session.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/session.cpp') diff --git a/src/session.cpp b/src/session.cpp index 9286054..1ca69cf 100644 --- a/src/session.cpp +++ b/src/session.cpp @@ -71,7 +71,8 @@ bool zmq::session_t::read (msg_t *msg_) if (!pipe->read (msg_)) return false; - incomplete_in = msg_->flags () & (msg_t::more | msg_t::label); + incomplete_in = + msg_->flags () & (msg_t::more | msg_t::label) ? true : false; return true; } -- cgit v1.2.3