[dpdk-dev] [PATCH 1/7] mempool: fix build with debug enabled

2015-03-04 Thread Olivier MATZ
Hi Thomas, On 03/03/2015 04:23 PM, Thomas Monjalon wrote: > error: format ?%p? expects argument of type ?void *?, > but argument 5 has type ?const struct rte_mempool *? [-Werror=format=] > > mp type is (const struct rte_mempool *) and must be casted into a simpler > type to be printed. I was a bi

[dpdk-dev] [PATCH 1/7] mempool: fix build with debug enabled

2015-03-03 Thread Thomas Monjalon
error: format ?%p? expects argument of type ?void *?, but argument 5 has type ?const struct rte_mempool *? [-Werror=format=] mp type is (const struct rte_mempool *) and must be casted into a simpler type to be printed. Signed-off-by: Thomas Monjalon --- lib/librte_mempool/rte_mempool.h | 8