summaryrefslogtreecommitdiffstats
path: root/drivers/mempool/dpaa/dpaa_mempool.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/mempool/dpaa/dpaa_mempool.h')
-rw-r--r--drivers/mempool/dpaa/dpaa_mempool.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mempool/dpaa/dpaa_mempool.h b/drivers/mempool/dpaa/dpaa_mempool.h
index 9435dd2f..092f326c 100644
--- a/drivers/mempool/dpaa/dpaa_mempool.h
+++ b/drivers/mempool/dpaa/dpaa_mempool.h
@@ -46,7 +46,7 @@ static inline void *
DPAA_MEMPOOL_PTOV(struct dpaa_bp_info *bp_info, uint64_t addr)
{
if (bp_info->ptov_off)
- return ((void *)(addr + bp_info->ptov_off));
+ return ((void *) (size_t)(addr + bp_info->ptov_off));
return rte_dpaa_mem_ptov(addr);
}