aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_hmac.c
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_hmac.c')
-rw-r--r--libarchive/archive_hmac.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libarchive/archive_hmac.c b/libarchive/archive_hmac.c
index f29965577f01..392916de5b7b 100644
--- a/libarchive/archive_hmac.c
+++ b/libarchive/archive_hmac.c
@@ -83,6 +83,7 @@ __hmac_sha1_cleanup(archive_hmac_sha1_ctx *ctx)
static int
__hmac_sha1_init(archive_hmac_sha1_ctx *ctx, const uint8_t *key, size_t key_len)
{
+#pragma GCC diagnostic ignored "-Wcast-qual"
BCRYPT_ALG_HANDLE hAlg;
BCRYPT_HASH_HANDLE hHash;
DWORD hash_len;