From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH 2/3 v2] app/test: Fix size_t printf format issue Date: Thu, 05 Mar 2015 18:27:23 +0100 Message-ID: <1805115.IjPZLV3BZK@xps13> References: <1425561339-13300-3-git-send-email-michael.qiu@intel.com> <1425564054-13883-1-git-send-email-michael.qiu@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev-VfR2kkLFssw@public.gmane.org To: Michael Qiu Return-path: In-Reply-To: <1425564054-13883-1-git-send-email-michael.qiu-ral2JQCrhuEAvxtiuMwx3w@public.gmane.org> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces-VfR2kkLFssw@public.gmane.org Sender: "dev" 2015-03-05 22:00, Michael Qiu: > test_hash.c: In function =E2=80=98test_crc32_hash_alg_equiv=E2=80=99:= > error: format =E2=80=98%lu=E2=80=99 expects argument of type =E2=80=98= long unsigned int=E2=80=99, > but argument 2 has type =E2=80=98size_t=E2=80=99 [-Werror=3Dformat] >=20 > According to C99, for size_t type should use format "%zu" >=20 > Signed-off-by: Michael Qiu You forgot to add the previous acknowledgement from Bruce.