summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/dom/core/string.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/include/dom/core/string.h b/include/dom/core/string.h
index 059a21f..b9b41a9 100644
--- a/include/dom/core/string.h
+++ b/include/dom/core/string.h
@@ -15,10 +15,10 @@
#include <dom/functypes.h>
#include <dom/core/exceptions.h>
-
-typedef struct dom_string {
+typedef struct dom_string dom_string;
+struct dom_string {
uint32_t refcnt;
-} dom_string;
+} _ALIGNED;
/* Claim a reference on a DOM string */