summaryrefslogtreecommitdiff
path: root/TAO/tao/LocalObject.cpp
diff options
context:
space:
mode:
authorelliott_c <ocielliottc@users.noreply.github.com>2003-04-30 12:31:02 +0000
committerelliott_c <ocielliottc@users.noreply.github.com>2003-04-30 12:31:02 +0000
commit6a49e64da69c48aa6ce7c306a5ae84f319e7eea0 (patch)
tree0918899fe823d8adb5a86c5db91f4bf8e43a1086 /TAO/tao/LocalObject.cpp
parentf23636bb09a053f540647572b790d7c7ceae437d (diff)
downloadATCD-6a49e64da69c48aa6ce7c306a5ae84f319e7eea0.tar.gz
ChangeLogTag: Wed Apr 30 07:26:37 2003 Chad Elliott <elliott_c@ociweb.com>
Diffstat (limited to 'TAO/tao/LocalObject.cpp')
-rw-r--r--TAO/tao/LocalObject.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/LocalObject.cpp b/TAO/tao/LocalObject.cpp
index f7ce24aa71f..d9612125191 100644
--- a/TAO/tao/LocalObject.cpp
+++ b/TAO/tao/LocalObject.cpp
@@ -44,7 +44,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_reinterpret_cast (unsigned long, this);
+ CORBA::ULong hash = ACE_static_cast (CORBA::ULong,
+ ACE_reinterpret_cast (ptr_arith_t, this));
return hash % maximum;
}