Fixed warnings on Win64

Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
This commit is contained in:
Martin Sustrik
2011-09-01 07:26:17 +02:00
parent 940c5b346b
commit 65bb75863d
2 changed files with 2 additions and 2 deletions

View File

@@ -776,7 +776,7 @@ void zmq::socket_base_t::process_term (int linger_)
// Ask all attached pipes to terminate.
for (pipes_t::size_type i = 0; i != pipes.size (); ++i)
pipes [i]->terminate (false);
register_term_acks (pipes.size ());
register_term_acks ((int) pipes.size ());
// Continue the termination process immediately.
own_t::process_term (linger_);