X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/4f17c639fb7c5e45bdece89eb9cc8238a70e36b1..7db2327a25dd339d72e5be32a44190d3b2191577:/src/mc/mc_private.h diff --git a/src/mc/mc_private.h b/src/mc/mc_private.h index 85ef10f74f..206d531754 100644 --- a/src/mc/mc_private.h +++ b/src/mc/mc_private.h @@ -410,10 +410,11 @@ typedef struct s_dw_variable{ int global; char *name; char *type_origin; - union{ - dw_location_t location; // For global==0 - void *address; // For global!=0 - }address; + + // Use either of: + dw_location_t location; + void* address; + }s_dw_variable_t, *dw_variable_t; typedef struct s_dw_frame{