X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3d0d626e19a7b79320e7d922c9c1dcf122076cea..c42000db0f347a26ac1645d830ac949194ec4da0:/src/gras/DataDesc/ddt_parse.c diff --git a/src/gras/DataDesc/ddt_parse.c b/src/gras/DataDesc/ddt_parse.c index 7599c9c1f5..0885117175 100644 --- a/src/gras/DataDesc/ddt_parse.c +++ b/src/gras/DataDesc/ddt_parse.c @@ -447,8 +447,8 @@ static gras_datadesc_type_t *parse_struct(char *definition) { gras_datadesc_type_t *struct_type; GRAS_IN; - gras_dynar_new(&identifiers,sizeof(identifier_t),NULL); - gras_dynar_new(&fields_to_push,sizeof(char*),NULL); + identifiers = gras_dynar_new(sizeof(identifier_t),NULL); + fields_to_push = gras_dynar_new(sizeof(char*),NULL); /* Create the struct descriptor */ if (gras_ddt_parse_tok_num == GRAS_DDT_PARSE_TOKEN_WORD) {