diff options
author | Damjan Marion <damarion@cisco.com> | 2018-05-30 09:26:11 +0200 |
---|---|---|
committer | Marco Varlese <marco.varlese@suse.de> | 2018-05-30 10:37:39 +0000 |
commit | ffe9d21b07ce4b607fd9a774df04f9f1f38eb197 (patch) | |
tree | f6f5163ff56d19318bb277f8b0f01cac8359ebe1 /src/plugins/dpdk/buffer.c | |
parent | ed256991f326ce91dd12f6584baf81b2aa5aae4a (diff) |
vppinfra: explicitely state for signed types that they are signed
This fixes some compilation warnings with clang on AArch64.
Change-Id: Idb941944e3f199f483c80e143a9e5163a031c4aa
Signed-off-by: Damjan Marion <damarion@cisco.com>
Diffstat (limited to 'src/plugins/dpdk/buffer.c')
-rw-r--r-- | src/plugins/dpdk/buffer.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/dpdk/buffer.c b/src/plugins/dpdk/buffer.c index 148f7891788..3b3aaf2379f 100644 --- a/src/plugins/dpdk/buffer.c +++ b/src/plugins/dpdk/buffer.c @@ -497,7 +497,7 @@ dpdk_pool_create (vlib_main_t * vm, u8 * pool_name, u32 elt_size, size = rte_mempool_xmem_size (num_elts, obj_size, 21, 0); error = - vlib_physmem_region_alloc (vm, (i8 *) pool_name, size, numa, + vlib_physmem_region_alloc (vm, (char *) pool_name, size, numa, VLIB_PHYSMEM_F_HUGETLB | VLIB_PHYSMEM_F_SHARED, pri); if (error) @@ -506,7 +506,7 @@ dpdk_pool_create (vlib_main_t * vm, u8 * pool_name, u32 elt_size, pr = vlib_physmem_get_region (vm, pri[0]); mp = - rte_mempool_create_empty ((i8 *) pool_name, num_elts, elt_size, + rte_mempool_create_empty ((char *) pool_name, num_elts, elt_size, 512, pool_priv_size, numa, 0); if (!mp) return clib_error_return (0, "failed to create %s", pool_name); |