comlib: Use CmiMsgHeaderExt instead of CmiMsgHeaderBasic to get the strategy ID
[charm.git] / src / conv-com / convcomlibmanager.h
index 000e1dd58ff0b4f55a9b378dbc880de36efcb886..a7be41bb629ad7f7c3205599d046de8aa61d2285 100644 (file)
@@ -170,7 +170,7 @@ CkpvExtern(int, comlib_handler);
 // received the handleMessage method will be invoked.
 inline void ConvComlibSendMessage(int instance, int dest_pe, int size, char *msg) {
   CmiSetHandler(msg, CkpvAccess(strategy_handlerid));
-  ((CmiMsgHeaderBasic *) msg)->stratid = instance;
+  ((CmiMsgHeaderExt *) msg)->stratid = instance;
     
   CmiSyncSendAndFree(dest_pe, size, msg);
 }*/