test/rcu: fix memory size integer truncate
authorHonnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Tue, 8 Oct 2019 21:12:17 +0000 (16:12 -0500)
committerDavid Marchand <david.marchand@redhat.com>
Mon, 21 Oct 2019 15:54:40 +0000 (17:54 +0200)
commit83e14432d3901a4a92519d0b340287b6cfc07d3d
tree02434847e255be6a52b24d6358784c66bc5a9e14
parent0e9d3de623827faef729a393c94fa42ada2f9cfa
test/rcu: fix memory size integer truncate

Variables used to store the return value of rte_rcu_qsbr_get_memsize
in variables of type 'int' or 'uint32_t'.
While the former variables are a problem, the latter have been aligned
for consistency.
The variables are of type 'size_t' now.

Fixes: b87089b0bb19 ("test/rcu: add API and functional tests")
Cc: stable@dpdk.org
Signed-off-by: Honnappa Nagarahalli <honnappa.nagarahalli@arm.com>
Reviewed-by: Gavin Hu <gavin.hu@arm.com>
app/test/test_rcu_qsbr.c
app/test/test_rcu_qsbr_perf.c