From a71a7975c95b794983c4b83a26981c7b4d7f7c82 Mon Sep 17 00:00:00 2001 From: Michael Forney Date: Wed, 24 Apr 2019 22:28:52 -0700 Subject: Use a common member for expression base --- decl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'decl.c') 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); -- cgit v1.2.3