aboutsummaryrefslogtreecommitdiff
path: root/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'decl.c')
-rw-r--r--decl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/decl.c b/decl.c
index 6355689..3ebf51a 100644
--- a/decl.c
+++ b/decl.c
@@ -348,7 +348,7 @@ declspecs(struct scope *s, enum storageclass *sc, enum funcspec *fs, int *align)
if (!t) {
e = expr(s);
if (e->decayed)
- e = e->unary.base;
+ e = e->base;
t = e->type;
tq |= e->qual;
delexpr(e);