Re: [U-Boot] [RFC PATCH v4 1/3] sandbox: Fix compiling warning on 32-bit host

2016-02-23 Thread york sun
On 02/16/2016 08:01 AM, Simon Glass wrote: > +Masahiro > > Hi York, > > On 12 February 2016 at 13:59, York Sun wrote: >> Fix the following compiling warning on 32-bit host >> >> disk/part_efi.c: In function 'alloc_read_gpt_entries': >> disk/part_efi.c:894:2: warning: format '%zu' expects argumen

Re: [U-Boot] [RFC PATCH v4 1/3] sandbox: Fix compiling warning on 32-bit host

2016-02-16 Thread Simon Glass
+Masahiro Hi York, On 12 February 2016 at 13:59, York Sun wrote: > Fix the following compiling warning on 32-bit host > > disk/part_efi.c: In function 'alloc_read_gpt_entries': > disk/part_efi.c:894:2: warning: format '%zu' expects argument of > type 'size_t', but argument 5 has type 'long unsi

[U-Boot] [RFC PATCH v4 1/3] sandbox: Fix compiling warning on 32-bit host

2016-02-12 Thread York Sun
Fix the following compiling warning on 32-bit host disk/part_efi.c: In function 'alloc_read_gpt_entries': disk/part_efi.c:894:2: warning: format '%zu' expects argument of type 'size_t', but argument 5 has type 'long unsigned int' [-Wformat] disk/part_efi.c:907:4: warning: format '%zX' expects ar