Re: [dpdk-dev] [PATCH] test/power: fix 32-bit build

2018-07-13 Thread De Lara Guarch, Pablo
> -Original Message- > From: De Lara Guarch, Pablo > Sent: Friday, July 13, 2018 5:13 AM > To: Nicolau, Radu ; Hunt, David > > Cc: dev@dpdk.org; De Lara Guarch, Pablo > Subject: [PATCH] test/power: fix 32-bit build > > Compilation issue: > > test/test/test_power_acpi_cpufreq.c:556:31:

Re: [dpdk-dev] [PATCH] test/power: fix 32-bit build

2018-07-13 Thread Radu Nicolau
On 7/13/2018 5:12 AM, Pablo de Lara wrote: Compilation issue: test/test/test_power_acpi_cpufreq.c:556:31: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ -Werror=format=] printf("ACPI: Capabilities %lx\n", c

[dpdk-dev] [PATCH] test/power: fix 32-bit build

2018-07-13 Thread Pablo de Lara
Compilation issue: test/test/test_power_acpi_cpufreq.c:556:31: error: format ‘%lx’ expects argument of type ‘long unsigned int’, but argument 2 has type ‘uint64_t {aka long long unsigned int}’ -Werror=format=] printf("ACPI: Capabilities %lx\n", caps.capabilities); ~