[dpdk-dev] [PATCH v4 05/10] app/test: support resources archived by tar
Thomas Monjalon
thomas.monjalon at 6wind.com
Mon Jun 13 16:40:09 CEST 2016
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);
^
More information about the dev
mailing list