summaryrefslogtreecommitdiff
path: root/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp')
-rw-r--r--TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp b/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp
index e3fa279fe4c..236d726d792 100644
--- a/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp
+++ b/TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp
@@ -581,7 +581,7 @@ TAO_TypeCodeFactory_i::create_union_tc (
rtc->union_parameters (name,
duped_disc_type,
cases, // Will be copied.
- cases.size (),
+ static_cast<CORBA::ULong> (cases.size ()),
default_index);
return recursive_tc._retn ();
@@ -592,7 +592,7 @@ TAO_TypeCodeFactory_i::create_union_tc (
name,
duped_disc_type,
cases, // Will be copied.
- cases.size (),
+ static_cast<CORBA::ULong> (cases.size ()),
default_index),
CORBA::NO_MEMORY ());