From mboxrd@z Thu Jan 1 00:00:00 1970 From: Radu Nicolau Subject: Re: [PATCH] test/power: fix 32-bit build Date: Fri, 13 Jul 2018 13:36:07 +0100 Message-ID: References: <20180713041240.2722-1-pablo.de.lara.guarch@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Cc: dev@dpdk.org To: Pablo de Lara , david.hunt@intel.com Return-path: Received: from mga18.intel.com (mga18.intel.com [134.134.136.126]) by dpdk.org (Postfix) with ESMTP id 95A8B2B9E for ; Fri, 13 Jul 2018 14:36:18 +0200 (CEST) In-Reply-To: <20180713041240.2722-1-pablo.de.lara.guarch@intel.com> Content-Language: en-US List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 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", caps.capabilities); > ~~^ ~~~~~~~~~~~~~~~~~ > %llx > > Fixes: 39e38d583075 ("test/power: add unit test for get capabilities API") > > Signed-off-by: Pablo de Lara > --- > Acked-by: Radu Nicolau