test/power: fix 32-bit build
authorPablo de Lara <pablo.de.lara.guarch@intel.com>
Fri, 13 Jul 2018 04:51:03 +0000 (05:51 +0100)
committerThomas Monjalon <thomas@monjalon.net>
Fri, 13 Jul 2018 16:24:52 +0000 (18:24 +0200)
commit07581a7e4d090165dac67f02e0b16a5ed4086a4b
treed3eb1f275cb6dbbf279a2ffc36f38c2e37576320
parent449660994e954d912ea677581e03550ae41bea97
test/power: fix 32-bit build

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}’

  printf("ACPI: Capabilities %lx\n", caps.capabilities);
                             ~~^     ~~~~~~~~~~~~~~~~~
                             %llx

Fixes: 39e38d583075 ("test/power: add unit test for get capabilities API")

Signed-off-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
Acked-by: Radu Nicolau <radu.nicolau@intel.com>
test/test/test_power_acpi_cpufreq.c