diff options
author | Martin Corino <mcorino@remedy.nl> | 2015-06-01 12:20:08 +0200 |
---|---|---|
committer | Martin Corino <mcorino@remedy.nl> | 2015-06-01 12:20:08 +0200 |
commit | cfb1dc00fd905b7bccff6a15f6352d7f613e3867 (patch) | |
tree | 80336a93a1d7ebab0d39e8aca22873e144aa682a | |
parent | 2d32faafe14a59e1f23e77afdcb860d9aa6546e7 (diff) | |
download | ATCD-cfb1dc00fd905b7bccff6a15f6352d7f613e3867.tar.gz |
Fix MSVC integer conversion warnings.
* TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp:
-rw-r--r-- | TAO/tao/TypeCodeFactory/TypeCodeFactory_i.cpp | 4 |
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 ()); |