summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.cpp
index 858e3b1e703..590c5faa2d7 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.cpp
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Properties_Encoder.cpp
@@ -40,9 +40,9 @@ void TAO_PG::Properties_Encoder::encode (
PortableGroup::Properties * property_set) const
{
ACE_ASSERT (property_set != 0);
- size_t count = values_.size();
+ CORBA::ULong const count = static_cast<CORBA::ULong> (values_.size());
property_set->length(count);
- for( size_t nItem = 0; nItem < count; ++nItem )
+ for( CORBA::ULong nItem = 0; nItem < count; ++nItem )
{
const NamedValue & nv = values_[nItem];
PortableGroup::Property & property = (*property_set)[nItem];