summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/ServerRequestInfo.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/ServerRequestInfo.cpp')
-rw-r--r--TAO/tao/PortableServer/ServerRequestInfo.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/PortableServer/ServerRequestInfo.cpp b/TAO/tao/PortableServer/ServerRequestInfo.cpp
index 9ca8fb1a055..be7712f6f00 100644
--- a/TAO/tao/PortableServer/ServerRequestInfo.cpp
+++ b/TAO/tao/PortableServer/ServerRequestInfo.cpp
@@ -56,14 +56,14 @@ TAO_ServerRequestInfo::request_id (ACE_ENV_SINGLE_ARG_DECL_NOT_USED)
// 64-bit platforms.
if (sizeof (this) == 4) // 32 bit address
- id = static_cast <CORBA::ULong> (
- reinterpret_cast <ptrdiff_t>
- (&(this->server_request_)));
+ id = ACE_static_cast (CORBA::ULong,
+ ACE_reinterpret_cast (ptrdiff_t,
+ &(this->server_request_)));
else if (sizeof (this) == 8) // 64 bit address -- use lower 32 bits
- id = static_cast <CORBA::ULong> (
- reinterpret_cast <ptrdiff_t>
- (&(this->server_request_)) & 0xFFFFFFFFu);
+ id = ACE_static_cast (CORBA::ULong,
+ ACE_reinterpret_cast (ptrdiff_t,
+ &(this->server_request_)) & 0xFFFFFFFFu);
else
// @@ Rather than fallback on the GIOP request ID, we should use