summaryrefslogtreecommitdiff
path: root/TAO/tao/Object.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/Object.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/Object.cpp')
-rw-r--r--TAO/tao/Object.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tao/Object.cpp b/TAO/tao/Object.cpp
index 0630a64a26f..7c6e2679ace 100644
--- a/TAO/tao/Object.cpp
+++ b/TAO/tao/Object.cpp
@@ -293,7 +293,8 @@ CORBA::Object::_hash (CORBA::ULong maximum
// of CORBA::ULong since we need to first cast to an integer
// large 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;
}