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) {