From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga01.intel.com (mga01.intel.com [192.55.52.88]) by dpdk.org (Postfix) with ESMTP id 038355A73 for ; Fri, 6 Mar 2015 02:42:57 +0100 (CET) Received: from orsmga003.jf.intel.com ([10.7.209.27]) by fmsmga101.fm.intel.com with ESMTP; 05 Mar 2015 17:42:57 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,350,1422950400"; d="scan'208";a="536863664" Received: from pgsmsx103.gar.corp.intel.com ([10.221.44.82]) by orsmga003.jf.intel.com with ESMTP; 05 Mar 2015 17:42:43 -0800 Received: from shsmsx152.ccr.corp.intel.com (10.239.6.52) by PGSMSX103.gar.corp.intel.com (10.221.44.82) with Microsoft SMTP Server (TLS) id 14.3.195.1; Fri, 6 Mar 2015 09:42:54 +0800 Received: from shsmsx101.ccr.corp.intel.com ([169.254.1.192]) by SHSMSX152.ccr.corp.intel.com ([169.254.6.46]) with mapi id 14.03.0195.001; Fri, 6 Mar 2015 09:42:53 +0800 From: "Qiu, Michael" To: Thomas Monjalon Thread-Topic: [dpdk-dev] [PATCH 2/3 v2] app/test: Fix size_t printf format issue Thread-Index: AQHQV0zfEzudJVlEYEujpiW3LV5rsw== Date: Fri, 6 Mar 2015 01:42:53 +0000 Message-ID: <533710CFB86FA344BFBF2D6802E60286CEF55F@SHSMSX101.ccr.corp.intel.com> References: <1425561339-13300-3-git-send-email-michael.qiu@intel.com> <1425564054-13883-1-git-send-email-michael.qiu@intel.com> <1805115.IjPZLV3BZK@xps13> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Cc: "dev@dpdk.org" Subject: Re: [dpdk-dev] [PATCH 2/3 v2] app/test: Fix size_t printf format issue X-BeenThere: dev@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 06 Mar 2015 01:43:00 -0000 On 3/6/2015 1:28 AM, Thomas Monjalon wrote:=0A= > 2015-03-05 22:00, Michael Qiu:=0A= >> test_hash.c: In function =91test_crc32_hash_alg_equiv=92:=0A= >> error: format =91%lu=92 expects argument of type =91long unsigned int=92= ,=0A= >> but argument 2 has type =91size_t=92 [-Werror=3Dformat]=0A= >>=0A= >> According to C99, for size_t type should use format "%zu"=0A= >>=0A= >> Signed-off-by: Michael Qiu =0A= > You forgot to add the previous acknowledgement from Bruce.=0A= >=0A= >=0A= OK, I will send out v3 to add previous acknowledgement from Bruce.=0A= =0A= Thanks,=0A= Michael=0A=