Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Cosmetics
authorArnaud Legrand <arnaud.legrand@imag.fr>
Fri, 2 Mar 2012 16:32:20 +0000 (17:32 +0100)
committerArnaud Legrand <arnaud.legrand@imag.fr>
Mon, 5 Mar 2012 11:05:24 +0000 (12:05 +0100)
src/surf/network.c

index d64df51..e2d92fd 100644 (file)
@@ -514,8 +514,7 @@ static double net_share_resources_lazy(double now)
     }
 
     if (min != -1) {
     }
 
     if (min != -1) {
-      heap_insert((surf_action_network_CM02_t) action, min,
-                  max_dur_flag ? MAX_DURATION : NORMAL);
+      heap_insert(action, min, max_dur_flag ? MAX_DURATION : NORMAL);
       XBT_DEBUG("Insert at heap action(%p) min %lf now %lf", action, min,
                 now);
     }
       XBT_DEBUG("Insert at heap action(%p) min %lf now %lf", action, min,
                 now);
     }