Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Ooups. How come my code ever worked without changing that ?...
[simgrid.git] / src / msg / gos.c
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->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;
 
   simdata->comp_amount = computation_amount;
   simdata->comm_amount = communication_amount;