summaryrefslogtreecommitdiff
path: root/TAO/tao/Monitor/Monitor_Impl.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Monitor/Monitor_Impl.cpp')
-rw-r--r--TAO/tao/Monitor/Monitor_Impl.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/TAO/tao/Monitor/Monitor_Impl.cpp b/TAO/tao/Monitor/Monitor_Impl.cpp
index 1014770e978..e47bfe6bbcb 100644
--- a/TAO/tao/Monitor/Monitor_Impl.cpp
+++ b/TAO/tao/Monitor/Monitor_Impl.cpp
@@ -44,7 +44,7 @@ Monitor_Impl::get_statistic_names (const char * filter)
::Monitor::NameList *namelist = 0;
ACE_NEW_THROW_EX (namelist,
- ::Monitor::NameList (mc_names.size ()),
+ ::Monitor::NameList (static_cast<CORBA::ULong> (mc_names.size ())),
CORBA::NO_MEMORY ());
CORBA::ULong index = 0;