diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-05-01 18:30:39 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-05-01 18:30:39 +0000 |
commit | 97c1df7ffac788c1e21bb11275a3a812e4dcb473 (patch) | |
tree | 1bd6149e80b6a9a18b34839bbc391e135f204f6f /TAO/tao/BiDir_GIOP | |
parent | b45b2a1f692f399d7c22acda3dd9cdd993ce6219 (diff) | |
download | ATCD-97c1df7ffac788c1e21bb11275a3a812e4dcb473.tar.gz |
ChangeLogTag:Thu May 1 11:25:42 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/BiDir_GIOP')
-rw-r--r-- | TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp | 10 | ||||
-rw-r--r-- | TAO/tao/BiDir_GIOP/BiDirPolicyC.h | 2 |
2 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp b/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp index 443f8b2bbfe..ac6ee589572 100644 --- a/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp +++ b/TAO/tao/BiDir_GIOP/BiDirPolicyC.cpp @@ -199,7 +199,7 @@ BiDirPolicy::BidirectionalPolicy::_unchecked_narrow ( BidirectionalPolicy_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &BidirectionalPolicy::_tao_class_id ) ) @@ -217,19 +217,19 @@ BiDirPolicy::BidirectionalPolicy::_duplicate (BidirectionalPolicy_ptr obj) return obj; } -void *BiDirPolicy::BidirectionalPolicy::_tao_QueryInterface (ptr_arith_t type) +void *BiDirPolicy::BidirectionalPolicy::_tao_QueryInterface (ptrdiff_t type) { void *retv = 0; if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &ACE_NESTED_CLASS (::BiDirPolicy, BidirectionalPolicy)::_tao_class_id) ) { retv = ACE_reinterpret_cast (void*, this); } else if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &::CORBA::Policy::_tao_class_id) ) { @@ -243,7 +243,7 @@ void *BiDirPolicy::BidirectionalPolicy::_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/BiDir_GIOP/BiDirPolicyC.h b/TAO/tao/BiDir_GIOP/BiDirPolicyC.h index 18d412c58f7..6c211b42003 100644 --- a/TAO/tao/BiDir_GIOP/BiDirPolicyC.h +++ b/TAO/tao/BiDir_GIOP/BiDirPolicyC.h @@ -186,7 +186,7 @@ TAO_NAMESPACE BiDirPolicy // 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); |