From 65bb75863dde3ecd9a19d7fafc1ad1b0166a4770 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Thu, 1 Sep 2011 07:26:17 +0200 Subject: Fixed warnings on Win64 Signed-off-by: Martin Sustrik --- src/dist.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/dist.cpp') diff --git a/src/dist.cpp b/src/dist.cpp index e088e5e..23e790d 100644 --- a/src/dist.cpp +++ b/src/dist.cpp @@ -139,7 +139,7 @@ void zmq::dist_t::distribute (msg_t *msg_, int flags_) // Add matching-1 references to the message. We already hold one reference, // that's why -1. - msg_->add_refs (matching - 1); + msg_->add_refs ((int) matching - 1); // Push copy of the message to each matching pipe. for (pipes_t::size_type i = 0; i < matching;) { -- cgit v1.2.3