diff options
-rw-r--r-- | struct.c | 2 | ||||
-rw-r--r-- | vm.c | 2 |
2 files changed, 2 insertions, 2 deletions
@@ -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; @@ -95,7 +95,7 @@ struct vm_closure { int nreg; int nlvl; unsigned ip; - struct vm_env dspl[1]; + struct vm_env dspl[FLEX_ARRAY]; }; val vm_desc_s, vm_closure_s; |