Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use type network_element_t instead of void*, and avoid unnecessary casts.
[simgrid.git] / src / instr / instr_private.h
index 91923dd..d53a145 100644 (file)
@@ -63,7 +63,7 @@ typedef enum {
 
 typedef struct s_container *container_t;
 typedef struct s_container {
-  void *net_elm;  /* network_element_t */
+  network_element_t net_elm;
   char *name;     /* Unique name of this container */
   char *id;       /* Unique id of this container */
   type_t type;    /* Type of this container */