Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use a cleaner function type for get_link_latency functions.
[simgrid.git] / src / surf / network.c
index 30792cf..3d448f5 100644 (file)
@@ -774,7 +774,7 @@ static void surf_network_model_init_internal(void)
                                     498000000, NULL, 0.000015, NULL,
                                     SURF_RESOURCE_ON, NULL,
                                     SURF_LINK_FATPIPE, NULL),
-                        (double_f_pvoid_t)net_get_link_latency);
+                      net_get_link_latency);
 }