summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Corino <mcorino@remedy.nl>2015-06-01 11:55:05 +0200
committerMartin Corino <mcorino@remedy.nl>2015-06-01 11:55:05 +0200
commit1c9e65f71f07c3438ae98ddba6b4563578bf25a0 (patch)
tree821d80eccb11bb5f5a6fecfb1c42c9d57def2a61
parent5b1613d351b8958cff8fff5de9322bf8dff64fcb (diff)
downloadATCD-1c9e65f71f07c3438ae98ddba6b4563578bf25a0.tar.gz
Fix MSVC integer connversion warning.
* TAO/tao/RTCORBA/Thread_Pool.cpp:
-rw-r--r--TAO/tao/RTCORBA/Thread_Pool.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/RTCORBA/Thread_Pool.cpp b/TAO/tao/RTCORBA/Thread_Pool.cpp
index 4b13e1a0b76..e101bb672f5 100644
--- a/TAO/tao/RTCORBA/Thread_Pool.cpp
+++ b/TAO/tao/RTCORBA/Thread_Pool.cpp
@@ -391,8 +391,8 @@ TAO_Thread_Lane::current_threads (void) const
this->lock_,
0);
- return (this->static_threads_.thr_count () +
- this->dynamic_threads_.thr_count ());
+ return static_cast<CORBA::ULong> (this->static_threads_.thr_count () +
+ this->dynamic_threads_.thr_count ());
}