scc

simple C compiler
git clone git://git.2f30.org/scc
Log | Files | Refs | README | LICENSE

commit bea83b8b7641be12d18d3f69f658261459de7fc4
parent 9761a80a98bd2f59d922f83862f4faa7a4389861
Author: Roberto E. Vargas Caballero <k0ga@shike2.com>
Date:   Wed, 28 Sep 2016 12:34:53 +0200

[cc1] Simplify expression in types.c

Diffstat:
Mcc1/types.c | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/cc1/types.c b/cc1/types.c @@ -214,7 +214,7 @@ typesize(Type *tp) size += aux->size; offset = size; } else { - if ((*sp)->type->size > size) + if (aux->size > size) size = aux->size; } }