diff options
Diffstat (limited to '')
-rw-r--r-- | src/ring.c | 13 |
1 files changed, 13 insertions, 0 deletions
@@ -47,6 +47,13 @@ void ring_destroy(struct ring* this) } + +#if defined(__clang__) +# pragma GCC diagnostic push +# pragma GCC diagnostic ignored "-Wcast-align" +#endif + + /** * Marshal a ring buffer * @@ -103,6 +110,12 @@ size_t ring_unmarshal(struct ring* this, const void* buf) } +#if defined(__clang__) +# pragma GCC diagnostic pop +#endif + + + /** * Append data to a ring buffer * |