summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2017-02-05 14:15:52 (GMT)
committer Daniel Silverstone <dsilvers@digital-scurf.org>2017-02-05 14:15:52 (GMT)
commitcdd1f8eacafb4e8510ae06e91668b9281396e655 (patch)
tree7bb2e4d1ce718e7dcec20d75b7a13a9361cbfe40
parent63321d2f21056c13fefcc436721a80067d0b6a74 (diff)
downloadnsgenbind-cdd1f8eacafb4e8510ae06e91668b9281396e655.tar.gz
nsgenbind-cdd1f8eacafb4e8510ae06e91668b9281396e655.tar.bz2
Align the private structs to quieten certain warnings from clang
-rw-r--r--src/duk-libdom.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/duk-libdom.c b/src/duk-libdom.c
index 0619b29..bf27007 100644
--- a/src/duk-libdom.c
+++ b/src/duk-libdom.c
@@ -177,7 +177,7 @@ output_private_header(struct ir *ir)
GENBIND_NODE_TYPE_PRIVATE);
}
- fprintf(privf, "} %s_private_t;\n\n", interfacee->class_name);
+ fprintf(privf, "} __attribute__((aligned)) %s_private_t;\n\n", interfacee->class_name);
}