summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_T.cpp
diff options
context:
space:
mode:
authorschmidt <douglascraigschmidt@users.noreply.github.com>2006-08-21 16:46:19 +0000
committerschmidt <douglascraigschmidt@users.noreply.github.com>2006-08-21 16:46:19 +0000
commitac451171ea02a9fe99f0e651956f90b88064eda5 (patch)
treecdb0c9d26246371587dca95d922b2ef35b92e565 /TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_T.cpp
parent70635781379ec665cf150979d92f15dbfa55de0c (diff)
downloadATCD-ac451171ea02a9fe99f0e651956f90b88064eda5.tar.gz
ChangeLogTag:Mon
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_T.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_T.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_T.cpp b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_T.cpp
index 00c658cef95..188bdcab7e8 100644
--- a/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_T.cpp
+++ b/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_T.cpp
@@ -128,9 +128,11 @@ void FT_ProxyAdmin<EC_PROXY_ADMIN, Proxy, ProxyInterface, State>::set_state(
ACE_CHECK;
typedef typename Proxy::Skeleton Skeleton;
- const PortableServer::Servant servant = poa_->id_to_servant(
- reinterpret_cast<const PortableServer::ObjectId&> (proxy_state.object_id)
- ACE_ENV_ARG_PARAMETER);
+ const void *temp = &proxy_state.object_id;
+ const PortableServer::ObjectId *oid =
+ reinterpret_cast<const PortableServer::ObjectId *> (temp);
+ const PortableServer::Servant servant =
+ poa_->id_to_servant (*oid ACE_ENV_ARG_PARAMETER);
ACE_CHECK;
Skeleton skeleton = dynamic_cast<Skeleton> (servant);