diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-05-01 18:39:12 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2003-05-01 18:39:12 +0000 |
commit | 3dfe58c5859b3f906b0ddc5a6050b8e0642a1d49 (patch) | |
tree | 36cf78f519915042eca0bd1b2c863aa9daac19ac /TAO/tao/PolicyC.cpp | |
parent | c96b5bed98fc68196f03fc2da22952cfbdab1117 (diff) | |
download | ATCD-3dfe58c5859b3f906b0ddc5a6050b8e0642a1d49.tar.gz |
ChangeLogTag:Thu May 1 11:25:42 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/PolicyC.cpp')
-rw-r--r-- | TAO/tao/PolicyC.cpp | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/TAO/tao/PolicyC.cpp b/TAO/tao/PolicyC.cpp index 10a0dcb9fae..6eefea31d2d 100644 --- a/TAO/tao/PolicyC.cpp +++ b/TAO/tao/PolicyC.cpp @@ -1606,7 +1606,7 @@ CORBA::Policy::_unchecked_narrow ( Policy_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &Policy::_tao_class_id ) ) @@ -1652,19 +1652,19 @@ CORBA::Policy::_is_a ( } } -void *CORBA::Policy::_tao_QueryInterface (ptr_arith_t type) +void *CORBA::Policy::_tao_QueryInterface (ptrdiff_t type) { void *retv = 0; if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &ACE_NESTED_CLASS (::CORBA, Policy)::_tao_class_id) ) { retv = ACE_reinterpret_cast (void*, this); } else if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &CORBA::Object::_tao_class_id) ) { @@ -1939,7 +1939,7 @@ CORBA::PolicyManager::_unchecked_narrow ( PolicyManager_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &PolicyManager::_tao_class_id ) ) @@ -1957,19 +1957,19 @@ CORBA::PolicyManager::_duplicate (PolicyManager_ptr obj) return obj; } -void *CORBA::PolicyManager::_tao_QueryInterface (ptr_arith_t type) +void *CORBA::PolicyManager::_tao_QueryInterface (ptrdiff_t type) { void *retv = 0; if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &ACE_NESTED_CLASS (::CORBA, PolicyManager)::_tao_class_id) ) { retv = ACE_reinterpret_cast (void*, this); } else if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &CORBA::Object::_tao_class_id) ) { @@ -2161,7 +2161,7 @@ CORBA::PolicyCurrent::_unchecked_narrow ( PolicyCurrent_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &PolicyCurrent::_tao_class_id ) ) @@ -2179,19 +2179,19 @@ CORBA::PolicyCurrent::_duplicate (PolicyCurrent_ptr obj) return obj; } -void *CORBA::PolicyCurrent::_tao_QueryInterface (ptr_arith_t type) +void *CORBA::PolicyCurrent::_tao_QueryInterface (ptrdiff_t type) { void *retv = 0; if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &ACE_NESTED_CLASS (::CORBA, PolicyCurrent)::_tao_class_id) ) { retv = ACE_reinterpret_cast (void*, this); } else if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &ACE_NESTED_CLASS (::CORBA, PolicyManager)::_tao_class_id) ) { @@ -2205,7 +2205,7 @@ void *CORBA::PolicyCurrent::_tao_QueryInterface (ptr_arith_t type) ); } else if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &::CORBA::Current::_tao_class_id) ) { @@ -2219,7 +2219,7 @@ void *CORBA::PolicyCurrent::_tao_QueryInterface (ptr_arith_t type) ); } else if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &CORBA::Object::_tao_class_id) ) { |