- XBT_DEBUG ("Task '%s' is scheduled on workstation '%d' in position '%d'", task->name, performer, order);
- if(!(computer = (xbt_dynar_t) xbt_dict_get_or_null(computers, char_performer))){
- computer = xbt_dynar_new(sizeof(SD_task_t), NULL);
- xbt_dict_set(computers, char_performer, computer, NULL);
+ XBT_DEBUG ("Task '%s' is scheduled on workstation '%d' in position '%d'", task->name.c_str(), performer, order);
+ computer = static_cast<xbt_dynar_t> (xbt_dict_get_or_null(computers, char_performer));
+ if(computer == nullptr){
+ computer = xbt_dynar_new(sizeof(SD_task_t), nullptr);
+ xbt_dict_set(computers, char_performer, computer, nullptr);