Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Useless cast to void*.
[simgrid.git] / examples / deprecated / simdag / daxload / sd_daxload.c
index d6a29f8..77741ed 100644 (file)
@@ -66,7 +66,7 @@ int main(int argc, char **argv)
   XBT_INFO("------------------- Schedule tasks ---------------------------");
   sg_host_t *host_list = sg_host_list();
   int hosts_count = sg_host_count();
-  qsort((void *) host_list, hosts_count, sizeof(sg_host_t), name_compare_hosts);
+  qsort(host_list, hosts_count, sizeof(sg_host_t), name_compare_hosts);
 
   xbt_dynar_foreach(dax, cursor, task) {
     if (SD_task_get_kind(task) == SD_TASK_COMP_SEQ) {