From 08c75fa2b17a2d81328abaa866e9b7534a5bcee6 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Tue, 14 Aug 2012 22:52:46 +0200 Subject: Fix compiler aliasing warning. --- fm_md5.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'fm_md5.h') diff --git a/fm_md5.h b/fm_md5.h index 91ef93c1..f55909a4 100644 --- a/fm_md5.h +++ b/fm_md5.h @@ -16,7 +16,10 @@ typedef unsigned long int uint32; struct MD5Context { uint32 buf[4]; uint32 bits[2]; - unsigned char in[64]; + union { + unsigned char in[64]; + uint32 in32[16]; + } u; }; void MD5Init(struct MD5Context *context); -- cgit v1.2.3