aboutsummaryrefslogtreecommitdiffstats
path: root/libkeccak_hmac_unmarshal.c
diff options
context:
space:
mode:
authorMattias Andrée <maandree@kth.se>2021-07-30 18:59:01 +0200
committerMattias Andrée <maandree@kth.se>2021-07-30 18:59:01 +0200
commit67c2da55938ac19d0428205cdf53fb1bc6d3f386 (patch)
tree2ae7e9cadaa1e473ef25f8ce6727529f4a975bc6 /libkeccak_hmac_unmarshal.c
parentUse inline instead of static inline for non-deprecated functions (diff)
downloadlibkeccak-67c2da55938ac19d0428205cdf53fb1bc6d3f386.tar.gz
libkeccak-67c2da55938ac19d0428205cdf53fb1bc6d3f386.tar.bz2
libkeccak-67c2da55938ac19d0428205cdf53fb1bc6d3f386.tar.xz
Suppress clang warnings1.2.2
Signed-off-by: Mattias Andrée <maandree@kth.se>
Diffstat (limited to 'libkeccak_hmac_unmarshal.c')
-rw-r--r--libkeccak_hmac_unmarshal.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/libkeccak_hmac_unmarshal.c b/libkeccak_hmac_unmarshal.c
index bc76275..d4fb647 100644
--- a/libkeccak_hmac_unmarshal.c
+++ b/libkeccak_hmac_unmarshal.c
@@ -1,6 +1,10 @@
/* See LICENSE file for copyright and license details. */
#include "common.h"
+#if defined(__clang__)
+# pragma clang diagnostic ignored "-Wcast-align"
+#endif
+
/**
* Unmarshal a `struct libkeccak_hmac_state` from a buffer