summaryrefslogtreecommitdiff
path: root/TAO/tao/DynamicAny/DynStruct_i.cpp
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-04-30 12:31:02 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-04-30 12:31:02 +0000
commit6a49e64da69c48aa6ce7c306a5ae84f319e7eea0 (patch)
tree0918899fe823d8adb5a86c5db91f4bf8e43a1086 /TAO/tao/DynamicAny/DynStruct_i.cpp
parentf23636bb09a053f540647572b790d7c7ceae437d (diff)
downloadATCD-6a49e64da69c48aa6ce7c306a5ae84f319e7eea0.tar.gz
ChangeLogTag: Wed Apr 30 07:26:37 2003 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/DynamicAny/DynStruct_i.cpp')
-rw-r--r--TAO/tao/DynamicAny/DynStruct_i.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/DynamicAny/DynStruct_i.cpp b/TAO/tao/DynamicAny/DynStruct_i.cpp
index b633d0c0819..c74c7b6fe7c 100644
--- a/TAO/tao/DynamicAny/DynStruct_i.cpp
+++ b/TAO/tao/DynamicAny/DynStruct_i.cpp
@@ -41,7 +41,8 @@ TAO_DynStruct_i::init_common (void)
this->container_is_destroying_ = 0;
this->has_components_ = 1;
this->destroyed_ = 0;
- this->component_count_ = this->da_members_.size ();
+ this->component_count_ = ACE_static_cast (CORBA::ULong,
+ this->da_members_.size ());
this->current_position_ = this->component_count_ ? 0 : -1;
}