[dpdk-dev] [PATCH v4 05/10] app/test: support resources archived by tar

Jan Viktorin viktorin at rehivetech.com
Mon Jun 13 16:43:33 CEST 2016


On Mon, 13 Jun 2016 16:40:09 +0200
Thomas Monjalon <thomas.monjalon at 6wind.com> wrote:

> 2016-06-13 10:12, Jan Viktorin:
> > +static int do_copy(struct archive *r, struct archive *w)
> > +{
> > +	const void *buf;
> > +	size_t len;
> > +	off_t off;
> > +	int ret;
> > +
> > +	while (1) {
> > +		ret = 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 ‘archive_read_data_block’ from incompatible pointer type
>    ret = archive_read_data_block(r, &buf, &len, &off);
>                                                 ^

Hello Thomas,

confirmed in my Jenkins build. But it's strange as I've built it successfully
for 32b many times before by using Buildroot...

So, I am going to resend v5.

Regards
Jan


More information about the dev mailing list