summaryrefslogtreecommitdiff
path: root/TAO/tao/Messaging/Messaging_SyncScope_PolicyC.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Messaging/Messaging_SyncScope_PolicyC.cpp')
-rw-r--r--TAO/tao/Messaging/Messaging_SyncScope_PolicyC.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/tao/Messaging/Messaging_SyncScope_PolicyC.cpp b/TAO/tao/Messaging/Messaging_SyncScope_PolicyC.cpp
index 81e97b6c3c2..2a2135aa720 100644
--- a/TAO/tao/Messaging/Messaging_SyncScope_PolicyC.cpp
+++ b/TAO/tao/Messaging/Messaging_SyncScope_PolicyC.cpp
@@ -330,7 +330,7 @@ Messaging::SyncScopePolicy::_unchecked_narrow (
SyncScopePolicy_ptr,
obj->_tao_QueryInterface (
ACE_reinterpret_cast (
- ptr_arith_t,
+ ptrdiff_t,
&SyncScopePolicy::_tao_class_id
)
)
@@ -348,19 +348,19 @@ Messaging::SyncScopePolicy::_duplicate (SyncScopePolicy_ptr obj)
return obj;
}
-void *Messaging::SyncScopePolicy::_tao_QueryInterface (ptr_arith_t type)
+void *Messaging::SyncScopePolicy::_tao_QueryInterface (ptrdiff_t type)
{
void *retv = 0;
if (type == ACE_reinterpret_cast (
- ptr_arith_t,
+ ptrdiff_t,
&ACE_NESTED_CLASS (::Messaging, SyncScopePolicy)::_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)
)
{
@@ -374,7 +374,7 @@ void *Messaging::SyncScopePolicy::_tao_QueryInterface (ptr_arith_t type)
);
}
else if (type == ACE_reinterpret_cast (
- ptr_arith_t,
+ ptrdiff_t,
&CORBA::Object::_tao_class_id)
)
{