Skip to content
Snippets Groups Projects
Commit ea45cb0a authored by Matthias Weisser's avatar Matthias Weisser Committed by Wolfgang Denk
Browse files

net: Make sure IPaddr_t is 32 bits in size


When building u-boot as 64 bit application (e.g. sandbox) ulong might be
64 bits in size. This breaks network code as IPaddr_t is 64 bytes in
size then and an IPv4 address is 32 bits in size. This patch makes sure
that IPaddr_t is always 32 bits in size. Also some warnings introduced
by this patch are fixed.

Signed-off-by: default avatarMatthias Weisser <weisserm@arcor.de>
Acked-by: default avatarMike Frysinger <vapier@gentoo.org>
parent 7f79c6f2
No related branches found
No related tags found
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment