examples/distributor: fix build with icc 2015
authorMichael Qiu <michael.qiu@intel.com>
Fri, 27 Nov 2015 03:36:04 +0000 (11:36 +0800)
committerThomas Monjalon <thomas.monjalon@6wind.com>
Fri, 27 Nov 2015 20:43:35 +0000 (21:43 +0100)
commit538020aaed8b3807935ecd7d7fb4b5f78222cddf
tree6061d74a6cb5b8c20ea82bbc84c73472285e8d1a
parent6329b567761f2845bd708ccfbc0f00f2e776d525
examples/distributor: fix build with icc 2015

examples/distributor/main.c(338): error #167:
argument of type "struct rte_mbuf *"
is incompatible with parameter of type "const char *"

The first param passed to _mm_prefetch is wrong,
need convert "struct rte_mbuf *" to "void *".

Fixes: 07db4a975094 ("examples/distributor: new sample app")

Signed-off-by: Michael Qiu <michael.qiu@intel.com>
examples/distributor/main.c