summaryrefslogtreecommitdiff
path: root/TAO/tao/ClientRequestInfo_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/ClientRequestInfo_i.cpp')
-rw-r--r--TAO/tao/ClientRequestInfo_i.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/tao/ClientRequestInfo_i.cpp b/TAO/tao/ClientRequestInfo_i.cpp
index e2314ddfc3b..27527bf7b4e 100644
--- a/TAO/tao/ClientRequestInfo_i.cpp
+++ b/TAO/tao/ClientRequestInfo_i.cpp
@@ -375,7 +375,7 @@ TAO_ClientRequestInfo_i::request_id (ACE_ENV_SINGLE_ARG_DECL)
// 32 bit address
if (sizeof (this) == 4)
id = ACE_static_cast (CORBA::ULong,
- ACE_reinterpret_cast (ptr_arith_t,
+ ACE_reinterpret_cast (ptrdiff_t,
this->invocation_));
// 64 bit address -- bits 8 through 39 (see notes above!)
@@ -386,13 +386,13 @@ TAO_ClientRequestInfo_i::request_id (ACE_ENV_SINGLE_ARG_DECL)
&& sizeof (*(this->invocation_)) > 256 /* 2 << 8 */)
id =
(ACE_static_cast (CORBA::ULong,
- ACE_reinterpret_cast (ptr_arith_t,
+ ACE_reinterpret_cast (ptrdiff_t,
this->invocation_)) >> 8) & 0xFFFFFFFFu;
// 64 bit address -- lower 32 bits
else if (sizeof (this) == 8)
id = ACE_static_cast (CORBA::ULong,
- ACE_reinterpret_cast (ptr_arith_t,
+ ACE_reinterpret_cast (ptrdiff_t,
this->invocation_)) &
0xFFFFFFFFu;