~mcf/cproc

b82a2315827553f8d1e7476b1261c5f1d00a7c7e — Michael Forney a month ago d99805f
expr: Fix qualifiers of base type during implicit array conversion
1 files changed, 2 insertions(+), 1 deletions(-)

M expr.c
M expr.c => expr.c +2 -1
@@ 98,8 98,9 @@ decay(struct expr *e)
	tq = e->qual;
	switch (t->kind) {
	case TYPEARRAY:
		assert(tq == QUALNONE);
		e = mkunaryexpr(TBAND, e);
		e->type = mkpointertype(t->base, tq);
		e->type = mkpointertype(t->base, t->qual);
		e->decayed = true;
		break;
	case TYPEFUNC: