possible fix of a bug...
authorFilippo Gioachin <gioachin@illinois.edu>
Wed, 7 Jul 2004 10:02:48 +0000 (10:02 +0000)
committerFilippo Gioachin <gioachin@illinois.edu>
Wed, 7 Jul 2004 10:02:48 +0000 (10:02 +0000)
src/ck-com/PipeBroadcastStrategy.C

index 63e5d244898549afc31f5e95b8f946781e546d88..937df9f07430b761603f2e36870d815b4ea4510a 100644 (file)
@@ -4,7 +4,7 @@ void propagate_handler(void *message) {
   int instid = CmiGetXHandler(message);
   PipeBroadcastConverse *myStrategy = (PipeBroadcastConverse *)ConvComlibGetStrategy(instid);
   envelope *env = (envelope*)message;
-  myStrategy->propagate((char*)message, false, env->getSrcPe(), env->getTotalsize(), envelope::setSrcPe);
+  myStrategy->propagate((char*)message, false, env->getSrcPe(), env->getTotalsize(), &envelope::setSrcPe);
 }
 
 void PipeBroadcastStrategy::deliverer(char *msg, int dim) {
@@ -67,7 +67,7 @@ void PipeBroadcastStrategy::conversePipeBcast(envelope *env, int totalSize) {
     ComlibPrintf("[%d] Propagating message in one single chunk\n",CkMyPe());
     CmiSetHandler(env, propagateHandle);
     env->setSrcPe(CkMyPe());
-    ((PipeBroadcastConverse*)converseStrategy)->propagate((char*)env, false, CkMyPe(), totalSize, envelope::setSrcPe);
+    ((PipeBroadcastConverse*)converseStrategy)->propagate((char*)env, false, CkMyPe(), totalSize, &envelope::setSrcPe);
   }
 }