From 2ef60c2a9520b02256c6f5051468aedbfb69683b Mon Sep 17 00:00:00 2001 From: Kimplul Date: Mon, 15 Apr 2024 02:03:49 +0300 Subject: force all structs to align 3 --- src/ast.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/ast.c b/src/ast.c index ad905ae..246cfef 100644 --- a/src/ast.c +++ b/src/ast.c @@ -691,6 +691,7 @@ static size_t struct_size(struct type *t) size += sz; } + size = align3k(size); t->size = (ssize_t)size; return size; } -- cgit v1.3