Re: [dpdk-dev] [PATCH] examples/vm_power: fix 32-bit build

2020-10-06 Thread David Marchand
On Mon, Oct 5, 2020 at 8:57 PM Ferruh Yigit wrote: > > Compiler version: > gcc 10.2.1 "cc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)" > > Build error: > ../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:346:23: > warning: format ‘%ld’ expects argument of type ‘long int’, but > arg

Re: [dpdk-dev] [PATCH] examples/vm_power: fix 32-bit build

2020-10-06 Thread Thomas Monjalon
05/10/2020 19:02, Ferruh Yigit: > Compiler version: > gcc 10.2.1 "cc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)" > > Build error: > ../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:346:23: > warning: format ‘%ld’ expects argument of type ‘long int’, but > argument 4 has type ‘uint6

[dpdk-dev] [PATCH] examples/vm_power: fix 32-bit build

2020-10-05 Thread Ferruh Yigit
Compiler version: gcc 10.2.1 "cc (GCC) 10.2.1 20200723 (Red Hat 10.2.1-1)" Build error: ../examples/vm_power_manager/guest_cli/vm_power_cli_guest.c:346:23: warning: format ‘%ld’ expects argument of type ‘long int’, but argument 4 has type ‘uint64_t’ {aka ‘long long unsigned int’}