commit bea83b8b7641be12d18d3f69f658261459de7fc4
Author:     Roberto E. Vargas Caballero <k...@shike2.com>
AuthorDate: Wed Sep 28 12:34:53 2016 +0200
Commit:     Roberto E. Vargas Caballero <k...@shike2.com>
CommitDate: Wed Sep 28 12:34:53 2016 +0200

    [cc1] Simplify expression in types.c

diff --git a/cc1/types.c b/cc1/types.c
index d49b3e5..170e4a8 100644
--- 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;
                        }
                }

Reply via email to