aboutsummaryrefslogtreecommitdiffstats
path: root/liblss16_encoder_init.c
diff options
context:
space:
mode:
Diffstat (limited to 'liblss16_encoder_init.c')
-rw-r--r--liblss16_encoder_init.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/liblss16_encoder_init.c b/liblss16_encoder_init.c
index 037cd8e..d94d4fa 100644
--- a/liblss16_encoder_init.c
+++ b/liblss16_encoder_init.c
@@ -2,6 +2,10 @@
#include "liblss16.h"
#include <string.h>
+#if defined(__clang__)
+# pragma clang diagnostic ignored "-Wunsafe-buffer-usage"
+#endif
+
int
liblss16_encoder_init(struct liblss16_encoder *encoder, const struct liblss16_header *header,