mirror of
https://xff.cz/git/u-boot/
synced 2025-09-02 01:02:19 +02:00
GCC47: Fix warning in md5.c
md5.c: In function ‘MD5Final’: md5.c:156:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] md5.c:157:2: warning: dereferencing type-punned pointer will break strict-aliasing rules [-Wstrict-aliasing] Signed-off-by: Marek Vasut <marex@denx.de> Cc: Wolfgang Denk <wd@denx.de> Acked-by: Mike Frysinger <vapier@gentoo.org>
This commit is contained in:
committed by
Wolfgang Denk
parent
f624dd15e3
commit
b68d63ce4b
@@ -11,7 +11,10 @@
|
||||
struct MD5Context {
|
||||
__u32 buf[4];
|
||||
__u32 bits[2];
|
||||
unsigned char in[64];
|
||||
union {
|
||||
unsigned char in[64];
|
||||
__u32 in32[16];
|
||||
};
|
||||
};
|
||||
|
||||
/*
|
||||
|
Reference in New Issue
Block a user