X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f0c8eebff675af6278ff663ff0fc47126c9193cc..34ee0d36886596c4a93a84fae7b70c7ae8edb3e9:/src/surf/instr_surf.cpp diff --git a/src/surf/instr_surf.cpp b/src/surf/instr_surf.cpp index 4d45aa1169..69d8a98a32 100644 --- a/src/surf/instr_surf.cpp +++ b/src/surf/instr_surf.cpp @@ -13,7 +13,7 @@ void TRACE_surf_host_set_speed(double date, const char *resource, double speed) { if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) { container_t container = PJ_container_get(resource); - type_t type = PJ_type_get ("power", container->type); + Type* type = PJ_type_get ("power", container->type); new SetVariableEvent(date, container, type, speed); } } @@ -22,7 +22,7 @@ void TRACE_surf_link_set_bandwidth(double date, const char *resource, double ban { if (TRACE_categorized() || TRACE_uncategorized() || TRACE_platform()) { container_t container = PJ_container_get(resource); - type_t type = PJ_type_get ("bandwidth", container->type); + Type* type = PJ_type_get ("bandwidth", container->type); new SetVariableEvent(date, container, type, bandwidth); } }