summaryrefslogtreecommitdiff
path: root/lib/md4.c
diff options
context:
space:
mode:
authorMarcel Raad <raad@teamviewer.com>2017-06-02 21:58:48 +0200
committerMarcel Raad <raad@teamviewer.com>2017-06-02 21:58:48 +0200
commit769890c7e231b23962580c42df003967060a30fd (patch)
tree2ea21f1fa21728dd53a279b9296de23248d6ad90 /lib/md4.c
parent61d4870dc9c7a0d78d9ae54d95b41d383770a522 (diff)
downloadcurl-769890c7e231b23962580c42df003967060a30fd.tar.gz
MD(4|5): silence cast-align clang warning
Unaligned access is on purpose here and the warning is harmless on affected architectures. GCC knows that, while clang warns on all architectures.
Diffstat (limited to 'lib/md4.c')
-rw-r--r--lib/md4.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/md4.c b/lib/md4.c
index b7ce26c79..2bb7dcc25 100644
--- a/lib/md4.c
+++ b/lib/md4.c
@@ -90,7 +90,7 @@ static void MD4_Final(unsigned char *result, MD4_CTX *ctx);
*/
#if defined(__i386__) || defined(__x86_64__) || defined(__vax__)
#define SET(n) \
- (*(MD4_u32plus *)&ptr[(n) * 4])
+ (*(MD4_u32plus *)(void *)&ptr[(n) * 4])
#define GET(n) \
SET(n)
#else