Re: [U-Boot] include: fix mips64 build warning

2012-10-02 Thread Zhi-zhou Zhang
On Mon, Oct 1, 2012 at 7:06 PM, Daniel Schwierzeck wrote: > Hi Zhi-zhou, > > 2012/9/29 Zhi-zhou Zhang : >> fix warnings when building mips64, we define CONFIG_MIPS64 in config file. >> And this macro decides size_t. >> hashtable.c: In function 'hexport_r': >> hashtable.c:495:2: warning: format '%

Re: [U-Boot] include: fix mips64 build warning

2012-10-01 Thread Daniel Schwierzeck
Hi Zhi-zhou, 2012/9/29 Zhi-zhou Zhang : > fix warnings when building mips64, we define CONFIG_MIPS64 in config file. > And this macro decides size_t. > hashtable.c: In function 'hexport_r': > hashtable.c:495:2: warning: format '%zu' expects argument of type 'size_t', > but argument 5 has type 'u

[U-Boot] include: fix mips64 build warning

2012-09-29 Thread Zhi-zhou Zhang
fix warnings when building mips64, we define CONFIG_MIPS64 in config file. And this macro decides size_t. hashtable.c: In function 'hexport_r': hashtable.c:495:2: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat] hashtable.c:554:5: warning:

[U-Boot] include: fix mips64 build warning

2012-09-29 Thread Zhi-zhou Zhang
fix warnings when building mips64, we define CONFIG_MIPS64 in config file. And this macro decides size_t. hashtable.c: In function 'hexport_r': hashtable.c:495:2: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'unsigned int' [-Wformat] hashtable.c:554:5: warning: