Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ooups. How come my code ever worked without changing that ?...
authoralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 26 Aug 2007 13:44:08 +0000 (13:44 +0000)
committeralegrand <alegrand@48e7efb5-ca39-0410-a469-dd3cf9ba447f>
Sun, 26 Aug 2007 13:44:08 +0000 (13:44 +0000)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/simgrid/simgrid/trunk@4116 48e7efb5-ca39-0410-a469-dd3cf9ba447f

src/msg/gos.c
src/msg/private.h

index ee4be29..44c9783 100644 (file)
@@ -697,7 +697,7 @@ m_task_t MSG_parallel_task_create(const char *name,
   simdata->source = NULL;
 
   simdata->host_nb = host_nb;
-  simdata->host_list = xbt_new0(void *, host_nb);
+  simdata->host_list = xbt_new0(smx_host_t, host_nb);
   simdata->comp_amount = computation_amount;
   simdata->comm_amount = communication_amount;
 
index d193688..0641f9e 100644 (file)
@@ -47,7 +47,7 @@ typedef struct simdata_task {
   int using;
   /*******  Parallel Tasks Only !!!! *******/
   int host_nb;
-  void * *host_list;            /* SURF modeling */
+  smx_host_t *host_list;
   double *comp_amount;
   double *comm_amount;
 } s_simdata_task_t;