aboutsummaryrefslogtreecommitdiff
path: root/type.c
diff options
context:
space:
mode:
Diffstat (limited to 'type.c')
-rw-r--r--type.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/type.c b/type.c
index 0aaff36..6798105 100644
--- a/type.c
+++ b/type.c
@@ -79,7 +79,7 @@ mkarraytype(struct type *base, enum typequal qual, unsigned long long len)
t = mktype(TYPEARRAY, 0);
t->base = base;
t->qual = qual;
- t->u.array.length = len;
+ t->u.array.length = NULL;
t->u.array.ptrqual = QUALNONE;
t->incomplete = !len;
if (t->base) {