Re: [U-Boot] [PATCH 2/2] cmd: avb: Fix compiler warnings

2019-08-07 Thread Tom Rini
On Wed, Jul 31, 2019 at 07:59:09PM +0300, Sam Protsenko wrote: > When building U-Boot with AVB enabled, compiler shows next warnings: > > cmd/avb.c: In function 'do_avb_read_pvalue': > cmd/avb.c:371:18: warning: format '%ld' expects argument of type > 'long int',

Re: [U-Boot] [PATCH 2/2] cmd: avb: Fix compiler warnings

2019-08-01 Thread Igor Opaniuk
Hi, On Wed, Jul 31, 2019 at 7:59 PM Sam Protsenko wrote: > > When building U-Boot with AVB enabled, compiler shows next warnings: > > cmd/avb.c: In function 'do_avb_read_pvalue': > cmd/avb.c:371:18: warning: format '%ld' expects argument of type > 'long int', but

[U-Boot] [PATCH 2/2] cmd: avb: Fix compiler warnings

2019-07-31 Thread Sam Protsenko
When building U-Boot with AVB enabled, compiler shows next warnings: cmd/avb.c: In function 'do_avb_read_pvalue': cmd/avb.c:371:18: warning: format '%ld' expects argument of type 'long int', but argument 2 has type 'size_t' {aka 'unsigned int'}