From f2f183b53d7c683f8fe420c236e305b3d1febe7f Mon Sep 17 00:00:00 2001 From: Martin Corino Date: Mon, 1 Jun 2015 11:50:53 +0200 Subject: Fix MSVC integer conversion warnings. * TAO/tao/Dynamic_TP/DTP_Task.cpp: * TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp: --- TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp') diff --git a/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp b/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp index d9dfb449d96..5861424f7bc 100644 --- a/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp +++ b/TAO/tao/Dynamic_TP/DTP_Thread_Pool.cpp @@ -184,7 +184,7 @@ TAO_DTP_Thread_Pool::current_threads (void) const this->lock_, 0); - return this->threads_.thr_count (); + return static_cast (this->threads_.thr_count ()); } void @@ -336,7 +336,7 @@ TAO_DTP_Thread_Pool::create_threads_i (size_t count) -1); result = this->threads_.activate (flags, - count, + static_cast (count), force_active, default_grp_id, default_priority, -- cgit v1.2.1