summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_array/serializer_op_cs.cpp
diff options
context:
space:
mode:
authorparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-09-29 13:37:07 +0000
committerparsons <parsons@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2008-09-29 13:37:07 +0000
commit58acb7dd109b11f500fc3da505ab619c237f34df (patch)
tree29499a5a12f948ffd6672f3eb579904c0b6b4308 /TAO/TAO_IDL/be/be_visitor_array/serializer_op_cs.cpp
parentf808d7f1b305260684135983a8f1440283427c56 (diff)
downloadATCD-58acb7dd109b11f500fc3da505ab619c237f34df.tar.gz
ChangeLogTag: Mon Sep 29 13:35:43 UTC 2008 Jeff Parsons <j.parsons@vanderbilt.edu>
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_array/serializer_op_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_array/serializer_op_cs.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_array/serializer_op_cs.cpp b/TAO/TAO_IDL/be/be_visitor_array/serializer_op_cs.cpp
index 9fff70e75a4..33f5f84f7c2 100644
--- a/TAO/TAO_IDL/be/be_visitor_array/serializer_op_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_array/serializer_op_cs.cpp
@@ -752,7 +752,7 @@ int
be_visitor_array_serializer_op_cs::visit_node (be_type *bt)
{
TAO_OutStream *os = this->ctx_->stream ();
- unsigned long i;
+ ACE_CDR::ULong i;
be_array *node = this->ctx_->be_node_as_array ();
AST_Decl::NodeType nt = bt->node_type ();
@@ -925,7 +925,7 @@ be_visitor_array_serializer_op_cs::visit_node (be_type *bt)
*os << "::CORBA::Boolean _tao_marshal_flag = true;" << be_nl;
}
- unsigned long ndims = node->n_dims ();
+ ACE_CDR::ULong ndims = node->n_dims ();
// We get here if the "type" of individual elements of the array is not a
// primitive type. In this case, we are left with no other alternative but to
@@ -954,7 +954,9 @@ be_visitor_array_serializer_op_cs::visit_node (be_type *bt)
<< expr->ev ()->u.ulval;
if (TAO_CodeGen::TAO_FIND_SIZE != this->ctx_->sub_state ())
+ {
*os << " && _tao_marshal_flag";
+ }
*os << "; i" << i
<< "++)" << be_idt_nl