List:Commits« Previous MessageNext Message »
From:Jonas Oreland Date:August 17 2010 11:48am
Subject:bzr commit into mysql-5.1-telco-6.3 branch (jonas:3254)
View as plain text  
#At file:///home/jonas/src/telco-6.3/ based on revid:jonas@stripped

 3254 Jonas Oreland	2010-08-17
      ndb - fix strict-alias warning that I missed

    modified:
      storage/ndb/src/ndbapi/TransporterFacade.cpp
=== modified file 'storage/ndb/src/ndbapi/TransporterFacade.cpp'
--- a/storage/ndb/src/ndbapi/TransporterFacade.cpp	2010-02-04 14:42:12 +0000
+++ b/storage/ndb/src/ndbapi/TransporterFacade.cpp	2010-08-17 11:48:42 +0000
@@ -370,7 +370,7 @@ execute(void * callbackObj, SignalHeader
        {
 	 Uint32* send= tSignal.getDataPtrSend();
 	 memcpy(send, theData, tSignal.getLength() << 2);
-	 ((SubGcpCompleteAck*)send)->rep.senderRef = 
+	 CAST_PTR(SubGcpCompleteAck, send)->rep.senderRef = 
 	   numberToRef(API_CLUSTERMGR, theFacade->theOwnId);
 	 Uint32 ref= header->theSendersBlockRef;
 	 Uint32 aNodeId= refToNode(ref);


Attachment: [text/bzr-bundle] bzr/jonas@mysql.com-20100817114842-02yprj568njb2um6.bundle
Thread
bzr commit into mysql-5.1-telco-6.3 branch (jonas:3254) Jonas Oreland17 Aug