Fixes warning when compiling with MSVC on Win64

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-05-15 13:12:09 +02:00
parent 49387874ef
commit 49df2f416c
13 changed files with 38 additions and 35 deletions

View File

@@ -58,7 +58,7 @@ void zmq::lb_t::terminate ()
zmq_assert (!terminating);
terminating = true;
sink->register_term_acks (pipes.size ());
sink->register_term_acks ((int) pipes.size ());
for (pipes_t::size_type i = 0; i != pipes.size (); i++)
pipes [i]->terminate ();
}