diff options
author | elliott_c <ocielliottc@users.noreply.github.com> | 2003-04-30 12:31:02 +0000 |
---|---|---|
committer | elliott_c <ocielliottc@users.noreply.github.com> | 2003-04-30 12:31:02 +0000 |
commit | 6a49e64da69c48aa6ce7c306a5ae84f319e7eea0 (patch) | |
tree | 0918899fe823d8adb5a86c5db91f4bf8e43a1086 /TAO/tao/Object.cpp | |
parent | f23636bb09a053f540647572b790d7c7ceae437d (diff) | |
download | ATCD-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.cpp | 3 |
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; } |