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 | 3951e3cdee4d82bca868c1c5c0915dd869bcf482 (patch) | |
tree | 36cf78f519915042eca0bd1b2c863aa9daac19ac /TAO/tao/CurrentC.cpp | |
parent | 097368aa15d8405cdf34c8f53e68aee63716c639 (diff) | |
download | ATCD-3951e3cdee4d82bca868c1c5c0915dd869bcf482.tar.gz |
ChangeLogTag:Thu May 1 11:25:42 2003 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/CurrentC.cpp')
-rw-r--r-- | TAO/tao/CurrentC.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/TAO/tao/CurrentC.cpp b/TAO/tao/CurrentC.cpp index 91b138c0961..bab962c2917 100644 --- a/TAO/tao/CurrentC.cpp +++ b/TAO/tao/CurrentC.cpp @@ -156,7 +156,7 @@ CORBA::Current::_unchecked_narrow ( Current_ptr, obj->_tao_QueryInterface ( ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &Current::_tao_class_id ) ) @@ -174,19 +174,19 @@ CORBA::Current::_duplicate (Current_ptr obj) return obj; } -void *CORBA::Current::_tao_QueryInterface (ptr_arith_t type) +void *CORBA::Current::_tao_QueryInterface (ptrdiff_t type) { void *retv = 0; if (type == ACE_reinterpret_cast ( - ptr_arith_t, + ptrdiff_t, &ACE_NESTED_CLASS (::CORBA, Current)::_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) ) { |