summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp
index e074d429f4f..bf18a767a8a 100644
--- a/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp
+++ b/TAO/orbsvcs/orbsvcs/PortableGroup/PG_Property_Set.cpp
@@ -54,8 +54,8 @@ TAO::PG_Property_Set::decode (const PortableGroup::Properties & property_set)
{
ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->internals_);
- size_t count = property_set.length ();
- for (size_t nItem = 0; nItem < count; ++nItem)
+ CORBA::ULong const count = property_set.length ();
+ for (CORBA::ULong nItem = 0; nItem < count; ++nItem)
{
const PortableGroup::Property & property = property_set[nItem];
const CosNaming::Name & nsName = property.nam;
@@ -112,8 +112,8 @@ void TAO::PG_Property_Set::clear ()
void TAO::PG_Property_Set::remove (const PortableGroup::Properties & property_set)
{
ACE_GUARD (TAO_SYNCH_MUTEX, guard, this->internals_);
- size_t count = property_set.length ();
- for (size_t nItem = 0; nItem < count; ++nItem)
+ CORBA::ULong const count = property_set.length ();
+ for (CORBA::ULong nItem = 0; nItem < count; ++nItem)
{
const PortableGroup::Property & property = property_set[nItem];
const CosNaming::Name & nsName = property.nam;
@@ -170,9 +170,9 @@ void TAO::PG_Property_Set::export_properties(PortableGroup::Properties & propert
ValueMap merged_values;
this->merge_properties (merged_values);
- property_set.length (merged_values.current_size ());
+ property_set.length (static_cast<CORBA::ULong> (merged_values.current_size ()));
- size_t pos = 0;
+ CORBA::ULong pos = 0;
for (ValueMapIterator it = merged_values.begin ();
it != merged_values.end ();
++it)