From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v4 05/10] app/test: support resources archived by tar Date: Mon, 13 Jun 2016 16:40:09 +0200 Message-ID: <1627300.FuYmoD5NKX@xps13> References: <1465805550-30640-1-git-send-email-viktorin@rehivetech.com> <1465805550-30640-6-git-send-email-viktorin@rehivetech.com> Mime-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Cc: dev@dpdk.org, David Marchand , Bruce Richardson To: Jan Viktorin Return-path: Received: from mail-wm0-f43.google.com (mail-wm0-f43.google.com [74.125.82.43]) by dpdk.org (Postfix) with ESMTP id 9AE443990 for ; Mon, 13 Jun 2016 16:40:11 +0200 (CEST) Received: by mail-wm0-f43.google.com with SMTP id m124so82825365wme.1 for ; Mon, 13 Jun 2016 07:40:11 -0700 (PDT) In-Reply-To: <1465805550-30640-6-git-send-email-viktorin@rehivetech.com> List-Id: patches and discussions about DPDK List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 2016-06-13 10:12, Jan Viktorin: > +static int do_copy(struct archive *r, struct archive *w) > +{ > +=09const void *buf; > +=09size_t len; > +=09off_t off; > +=09int ret; > + > +=09while (1) { > +=09=09ret =3D archive_read_data_block(r, &buf, &len, &off); There is an error in 32-bit compilation: app/test/resource.c:108:48: error: passing argument 4 of =E2=80=98archive_read_data_block=E2=80=99 from in= compatible pointer type ret =3D archive_read_data_block(r, &buf, &len, &off); ^