summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Corino <mcorino@remedy.nl>2015-06-01 12:20:08 +0200
committerMartin Corino <mcorino@remedy.nl>2015-06-01 12:20:08 +0200
commitcfb1dc00fd905b7bccff6a15f6352d7f613e3867 (patch)
tree80336a93a1d7ebab0d39e8aca22873e144aa682a
parent2d32faafe14a59e1f23e77afdcb860d9aa6546e7 (diff)
downloadATCD-cfb1dc00fd905b7bccff6a15f6352d7f613e3867.tar.gz
Fix MSVC integer conversion warnings.
* 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 ());