Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Avoid memcpy while retrieving data from dynars (speed up)
[simgrid.git] / testsuite / xbt / dict_usage.c
index 56b6907..fe53dda 100644 (file)
@@ -30,7 +30,7 @@ static void print_str(void *str) {
 static void fill(gras_dict_t **head) {
   printf("\n Fill in the dictionnary\n");
 
-  gras_dict_new(head);
+  *head = gras_dict_new();
   debuged_add(*head,"12");
   debuged_add(*head,"12a");
   debuged_add(*head,"12b");