summaryrefslogtreecommitdiff
path: root/TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp')
-rw-r--r--TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp b/TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp
index 8573bdbcf6d..0c372a0bd83 100644
--- a/TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp
+++ b/TAO/TAO_IDL/be/be_visitor_component/component_cs.cpp
@@ -333,7 +333,7 @@ be_visitor_component_cs::visit_component (be_component *node)
// Generating _tao_QueryInterface method.
*os << "void *" << node->full_name ()
- << "::_tao_QueryInterface (ptr_arith_t type)" << be_nl
+ << "::_tao_QueryInterface (ptrdiff_t type)" << be_nl
<< "{" << be_idt_nl
<< "void *retv = 0;" << be_nl << be_nl
<< "if ";
@@ -352,7 +352,7 @@ be_visitor_component_cs::visit_component (be_component *node)
*os << "(type == ACE_reinterpret_cast ("
<< be_idt << be_idt << be_idt << be_idt << be_idt << be_idt_nl
- << " ptr_arith_t," << be_nl;
+ << " ptrdiff_t," << be_nl;
if (node->is_abstract ())
{