[dpdk-dev] [PATCH] mbuf: fix incompatibility with C++ in header file

2015-08-14 Thread Sergey Balabanov
The patch duplicates http://dpdk.org/dev/patchwork/patch/6750/ On Friday 14 August 2015 11:33:15 Avi Kivity wrote: > C++ doesn't allow implied casting from void * to another pointer, so > supply an explicit cast. > > Signed-off-by: Avi Kivity > --- > lib/librte_mbuf/rte_mbuf.h | 2 +- > 1 file

[dpdk-dev] [PATCH] mbuf: fix incompatibility with C++ in header file

2015-08-14 Thread Avi Kivity
C++ doesn't allow implied casting from void * to another pointer, so supply an explicit cast. Signed-off-by: Avi Kivity --- lib/librte_mbuf/rte_mbuf.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/librte_mbuf/rte_mbuf.h b/lib/librte_mbuf/rte_mbuf.h index c3b8c98..8c2db1