summaryrefslogtreecommitdiffstats
path: root/struct.c
diff options
context:
space:
mode:
Diffstat (limited to 'struct.c')
-rw-r--r--struct.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/struct.c b/struct.c
index 992f51bb..fccd0928 100644
--- a/struct.c
+++ b/struct.c
@@ -100,7 +100,7 @@ struct struct_inst {
cnum id : sizeof (cnum) * CHAR_BIT - TAG_SHIFT;
unsigned lazy : 1;
unsigned dirty : 1;
- val slot[1];
+ val slot[FLEX_ARRAY];
};
val struct_type_s, meth_s, print_s, make_struct_lit_s;