summaryrefslogtreecommitdiff
path: root/TAO/tao/LocalObject.cpp
diff options
context:
space:
mode:
authorOssama Othman <ossama-othman@users.noreply.github.com>2004-06-02 07:38:06 +0000
committerOssama Othman <ossama-othman@users.noreply.github.com>2004-06-02 07:38:06 +0000
commitc91cf4730938d9f0cf99768e3092794e5c968120 (patch)
tree5d66542032fa0d8a6e6477f5044d305055fced07 /TAO/tao/LocalObject.cpp
parent18246c7def2be102f4f63cfec13906420e3746ac (diff)
downloadATCD-c91cf4730938d9f0cf99768e3092794e5c968120.tar.gz
ChangeLogTag:Wed Jun 2 00:37:17 2004 Ossama Othman <ossama@dre.vanderbilt.edu>
Diffstat (limited to 'TAO/tao/LocalObject.cpp')
-rw-r--r--TAO/tao/LocalObject.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/TAO/tao/LocalObject.cpp b/TAO/tao/LocalObject.cpp
index 8f28082a317..3d752b69478 100644
--- a/TAO/tao/LocalObject.cpp
+++ b/TAO/tao/LocalObject.cpp
@@ -47,9 +47,8 @@ CORBA::LocalObject::_hash (CORBA::ULong maximum
// enough to hold an address to avoid compile-time warnings on some
// 64-bit platforms.
- CORBA::ULong hash =
- ACE_static_cast (CORBA::ULong,
- ACE_reinterpret_cast (ptrdiff_t, this));
+ const CORBA::ULong hash =
+ static_cast<CORBA::ULong> (reinterpret_cast<ptrdiff_t> (this));
return hash % maximum;
}