mem: fix build of virtual address hinting for 32-bit
mem: fix build of virtual address hinting for 32-bit

The initial commit doesn't build for 32-bit:
8ea9ff83 (mem: allow virtual memory address hinting)

lib/librte_eal/linuxapp/eal/eal.c: In function ‘eal_parse_base_virtaddr’:
build/include/rte_common.h:133:22:
error: cast from pointer to integer of different size
[-Werror=pointer-to-int-cast]
  RTE_PTR_ALIGN_FLOOR((typeof(ptr))RTE_PTR_ADD(ptr, (align) - 1), align)
                      ^

RTE_PTR_ALIGN_CEIL return type is the same as what we give it as input.
So instead of casting the returned value, cast 'addr' which should be the same
as base_virtaddr.

Reported-by: Mats Liljegren <799101270ace278bc742fe182d51d71f5483f6b7@enea.com>
Signed-off-by: David Marchand <f28529695cfa9e3e1eb84e7072aa626af4abb18e@6wind.com>
Acked-by: Thomas Monjalon <ee2fa8b2681c737f775687e475dcbf2028a412f1@6wind.com>

venkynv/dpdk-mirror,john-mcnamara-intel/dpdk,john-mcnamara-intel/dpdk,mixja/dpdk,john-mcnamara-intel/dpdk,venkynv/dpdk-mirror,msune/dpdk,tsphillips/dpdk-fork,mixja/dpdk,tsphillips/dpdk-fork,mixja/dpdk,msune/dpdk,venkynv/dpdk-mirror,msune/dpdk,msune/dpdk,mixja/dpdk,tsphillips/dpdk-fork,venkynv/dpdk-mirror,john-mcnamara-intel/dpdk,tsphillips/dpdk-fork