aboutsummaryrefslogtreecommitdiffstats
path: root/src/message.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/message.c')
-rw-r--r--src/message.c13
1 files changed, 13 insertions, 0 deletions
diff --git a/src/message.c b/src/message.c
index 6a5ad90..619ae25 100644
--- a/src/message.c
+++ b/src/message.c
@@ -69,6 +69,13 @@ void message_destroy(struct message* this)
}
+
+#if defined(__clang__)
+# pragma GCC diagnostic push
+# pragma GCC diagnostic ignored "-Wcast-align"
+#endif
+
+
/**
* Marshal a message for state serialisation
*
@@ -216,6 +223,12 @@ size_t message_unmarshal(struct message* this, const void* buf)
}
+#if defined(__clang__)
+# pragma GCC diagnostic pop
+#endif
+
+
+
/**
* Extend the header list's allocation
*