From c91cf4730938d9f0cf99768e3092794e5c968120 Mon Sep 17 00:00:00 2001 From: Ossama Othman Date: Wed, 2 Jun 2004 07:38:06 +0000 Subject: ChangeLogTag:Wed Jun 2 00:37:17 2004 Ossama Othman --- TAO/tao/LocalObject.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'TAO/tao/LocalObject.cpp') 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 (reinterpret_cast (this)); return hash % maximum; } -- cgit v1.2.1