
Dear Matthias Weisser,
In message 1322918984-9089-1-git-send-email-weisserm@arcor.de you wrote:
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
Changes in v2: Added explicit information about 32 bit size of IPv4 addresses in commit message and source comment.
include/net.h | 3 ++- net/net.c | 6 +++--- net/nfs.c | 2 +- net/tftp.c | 2 +- 4 files changed, 7 insertions(+), 6 deletions(-)
Applied, thanks.
Best regards,
Wolfgang Denk