aboutsummaryrefslogtreecommitdiff
path: root/type.c
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2019-05-08 20:10:13 -0700
committerMichael Forney <mforney@mforney.org>2019-05-08 20:26:09 -0700
commitfe4297ba1de2d65d7bd1e6e057178328643cf810 (patch)
treed46d90f0fc08aff636e2dfb3dc4825e24911ff0f /type.c
parent9f03161abae8b6502b51c20592bdc45654ede016 (diff)
Bump size of va_list to 32 to support both x86_64 and aarch64
Diffstat (limited to 'type.c')
-rw-r--r--type.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/type.c b/type.c
index b05898e..4b5b665 100644
--- a/type.c
+++ b/type.c
@@ -40,11 +40,11 @@ struct type typedouble = FLTTYPE(TYPEDOUBLE, 8, &f64);
struct type typeldouble = FLTTYPE(TYPELDOUBLE, 16, NULL); // XXX: not supported by qbe
static struct type typevaliststruct = {
- .kind = TYPESTRUCT, .size = 24, .align = 8,
+ .kind = TYPESTRUCT, .size = 32, .align = 8,
.prop = PROPOBJECT|PROPAGGR,
};
struct type typevalist = {
- .kind = TYPEARRAY, .size = 24, .align = 8, .array = {1}, .base = &typevaliststruct,
+ .kind = TYPEARRAY, .size = 32, .align = 8, .array = {1}, .base = &typevaliststruct,
.prop = PROPOBJECT|PROPDERIVED|PROPAGGR,
};
struct type typevalistptr = {