summaryrefslogtreecommitdiff
path: root/TAO/tao/RTPortableServer
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2003-05-01 18:30:39 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2003-05-01 18:30:39 +0000
commit8b1e0ccfba9c0221c4567831987ea021d5867461 (patch)
tree1bd6149e80b6a9a18b34839bbc391e135f204f6f /TAO/tao/RTPortableServer
parentd50ff61de57f52d5cd86ad9084407a56bd14fa97 (diff)
downloadATCD-8b1e0ccfba9c0221c4567831987ea021d5867461.tar.gz
ChangeLogTag:Thu May 1 11:25:42 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/RTPortableServer')
-rw-r--r--TAO/tao/RTPortableServer/RTPortableServerC.cpp10
-rw-r--r--TAO/tao/RTPortableServer/RTPortableServerC.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/RTPortableServer/RTPortableServerC.cpp b/TAO/tao/RTPortableServer/RTPortableServerC.cpp
index 567ed181824..a4ac6e8145b 100644
--- a/TAO/tao/RTPortableServer/RTPortableServerC.cpp
+++ b/TAO/tao/RTPortableServer/RTPortableServerC.cpp
@@ -155,7 +155,7 @@ RTPortableServer::POA::_unchecked_narrow (
POA_ptr,
obj->_tao_QueryInterface (
ACE_reinterpret_cast (
- ptr_arith_t,
+ ptrdiff_t,
&POA::_tao_class_id
)
)
@@ -173,19 +173,19 @@ RTPortableServer::POA::_duplicate (POA_ptr obj)
return obj;
}
-void *RTPortableServer::POA::_tao_QueryInterface (ptr_arith_t type)
+void *RTPortableServer::POA::_tao_QueryInterface (ptrdiff_t type)
{
void *retv = 0;
if (type == ACE_reinterpret_cast (
- ptr_arith_t,
+ ptrdiff_t,
&ACE_NESTED_CLASS (::RTPortableServer, POA)::_tao_class_id)
)
{
retv = ACE_reinterpret_cast (void*, this);
}
else if (type == ACE_reinterpret_cast (
- ptr_arith_t,
+ ptrdiff_t,
&::PortableServer::POA::_tao_class_id)
)
{
@@ -199,7 +199,7 @@ void *RTPortableServer::POA::_tao_QueryInterface (ptr_arith_t type)
);
}
else if (type == ACE_reinterpret_cast (
- ptr_arith_t,
+ ptrdiff_t,
&CORBA::Object::_tao_class_id)
)
{
diff --git a/TAO/tao/RTPortableServer/RTPortableServerC.h b/TAO/tao/RTPortableServer/RTPortableServerC.h
index 8c97c6ecdd9..4312708003a 100644
--- a/TAO/tao/RTPortableServer/RTPortableServerC.h
+++ b/TAO/tao/RTPortableServer/RTPortableServerC.h
@@ -206,7 +206,7 @@ TAO_NAMESPACE RTPortableServer
// TAO_IDL - Generated from
// W:\ACE_wrappers\TAO\TAO_IDL\be\be_visitor_interface/interface_ch.cpp:211
- virtual void *_tao_QueryInterface (ptr_arith_t type);
+ virtual void *_tao_QueryInterface (ptrdiff_t type);
virtual const char* _interface_repository_id (void) const;
virtual CORBA::Boolean marshal (TAO_OutputCDR &cdr);