[Pkg-ace-devel] r364 - /trunk/debian/patches/31-gcc-4.1-fix.dpatch

tgg-guest at users.alioth.debian.org tgg-guest at users.alioth.debian.org
Wed Jun 14 11:13:07 UTC 2006


Author: tgg-guest
Date: Wed Jun 14 11:13:05 2006
New Revision: 364

URL: http://svn.debian.org/wsvn/pkg-ace/?sc=1&rev=364
Log:
Attemp to fix the last type-punned warning.

Modified:
    trunk/debian/patches/31-gcc-4.1-fix.dpatch

Modified: trunk/debian/patches/31-gcc-4.1-fix.dpatch
URL: http://svn.debian.org/wsvn/pkg-ace/trunk/debian/patches/31-gcc-4.1-fix.dpatch?rev=364&op=diff
==============================================================================
--- trunk/debian/patches/31-gcc-4.1-fix.dpatch (original)
+++ trunk/debian/patches/31-gcc-4.1-fix.dpatch Wed Jun 14 11:13:05 2006
@@ -697,3 +697,18 @@
    ACE_DLList_Node *temp2 =
      ACE_DLList_Base::insert_head (temp1);
    return (T *) (temp2 ? temp2->item_ : 0);
+--- ACE_wrappers/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_T.cpp-	2006-06-13 11:38:00.000000000 +0000
++++ ACE_wrappers/TAO/orbsvcs/orbsvcs/FtRtEvent/EventChannel/FT_ProxyAdmin_T.cpp	2006-06-14 11:08:20.000000000 +0000
+@@ -126,8 +126,10 @@
+     ACE_CHECK;
+ 
+     typedef typename Proxy::Skeleton Skeleton;
+-    const PortableServer::Servant servant = poa_->id_to_servant(
+-      reinterpret_cast<const PortableServer::ObjectId&> (proxy_state.object_id)
++    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;




More information about the Pkg-ace-devel mailing list