[U-Boot] [PATCH] net: Make sure IPaddr_t is 32 bits in size

2011-12-02 Thread Matthias Weisser
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. 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

Re: [U-Boot] [PATCH] net: Make sure IPaddr_t is 32 bits in size

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 11:26:12 Matthias Weisser 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. This patch makes sure that IPaddr_t is always 32 bits in size. Also some warnings

Re: [U-Boot] [PATCH] net: Make sure IPaddr_t is 32 bits in size

2011-12-02 Thread Mike Frysinger
On Friday 02 December 2011 11:26:12 Matthias Weisser 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. This patch makes sure that IPaddr_t is always 32 bits in size. Also some warnings