X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f644ce570251ad88ed4cc216f4a94adb1a79987b..66eeb4028730b704a90c79edc202e18a159b3eda:/src/xbt/set.c diff --git a/src/xbt/set.c b/src/xbt/set.c index aa42896710..ff05014417 100644 --- a/src/xbt/set.c +++ b/src/xbt/set.c @@ -156,7 +156,7 @@ gras_error_t gras_set_get_by_id (gras_set_t *set, /* Don't bother checking the bounds, the dynar does so */ - gras_dynar_get(set->dynar,id,dst); + *dst = gras_dynar_get_as(set->dynar,id,gras_set_elm_t *); DEBUG3("Lookup type of id %d (of %lu): %s", id, gras_dynar_length(set->dynar), (*dst)->name);