comlib: Use CmiMsgHeaderExt instead of CmiMsgHeaderBasic to get the strategy ID
[charm.git] / src / ck-com / OneTimeMulticastStrategy.C
index 6e65c7b86c9bfaeb2be3527f8ca54762acca3391..d7a0882e5948f357f37c707c38d5296de1dca59e 100644 (file)
@@ -152,7 +152,7 @@ void OneTimeMulticastStrategy::remoteMulticast(ComlibMulticastMsg * multMsg, boo
   
 
   CmiSetHandler(env, CkpvAccess(comlib_handler));
   
 
   CmiSetHandler(env, CkpvAccess(comlib_handler));
-  ((CmiMsgHeaderBasic *) env)->stratid = getInstance();  
+  ((CmiMsgHeaderExt *) env)->stratid = getInstance();  
   CkPackMessage(&env);
 
   double middle = CmiWallTimer();
   CkPackMessage(&env);
 
   double middle = CmiWallTimer();