commit | 6cc6326bfe15324ba1da9d692a434c96900f8667 | [log] [tgz] |
---|---|---|
author | Matthias Weisser <weisserm@arcor.de> | Sat Dec 03 03:29:44 2011 +0000 |
committer | Wolfgang Denk <wd@denx.de> | Tue Dec 06 22:15:32 2011 +0100 |
tree | d7aefd5f7baa6fcc46c7ac046a133c5d44ee7f78 | |
parent | cc3e1cbb5062c29af4c5f81558d46fedbb36018b [diff] |
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: Matthias Weisser <weisserm@arcor.de> Acked-by: Mike Frysinger <vapier@gentoo.org>