diff options
author | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
---|---|---|
committer | nobody <nobody@ae88bc3d-4319-0410-8dbf-d08b4c9d3795> | 2004-09-16 21:19:02 +0000 |
commit | 40fdc8a404e75ab03b68cc62e9987cf208fd8c30 (patch) | |
tree | 37d9c4d3abe4aefd8a34ed797883dd2cd4862ca7 /TAO/tao/PortableServer/ServerRequestInfo.cpp | |
parent | c254b281f1b9a4ca19dd0c3ee73a0654a7718909 (diff) | |
download | ATCD-40fdc8a404e75ab03b68cc62e9987cf208fd8c30.tar.gz |
This commit was manufactured by cvs2svn to create branchtypecode-overhaul
'typecode-overhaul'.
Diffstat (limited to 'TAO/tao/PortableServer/ServerRequestInfo.cpp')
-rw-r--r-- | TAO/tao/PortableServer/ServerRequestInfo.cpp | 12 |
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 |