numam-dpdk/lib/librte_ring
Ed Czeck 65d9e621fa ring: fix C++ cast error
build error:
include/rte_ring.h:459:22: error: invalid conversion from ‘void*’
to ‘void**’ [-fpermissive]
  ENQUEUE_PTRS(r, &r[1], prod_head, obj_table, n, void *);

Implicit casts of void* to void** are considered warnings in some
compilers.  E.g. g++ version 5.8.  Cast directly to object types

Fixes: a6619414 ("ring: make struct and macros type agnostic")

Signed-off-by: Ed Czeck <ed.czeck@atomicrules.com>
Acked-by: Olivier Matz <olivier.matz@6wind.com>
2017-04-06 17:55:54 +02:00
..
Makefile mk: optimize directory dependencies 2017-03-27 23:28:43 +02:00
rte_ring_version.map ring: support freeing 2015-11-04 00:49:59 +01:00
rte_ring.c ring: separate out head index manipulation 2017-03-29 22:32:20 +02:00
rte_ring.h ring: fix C++ cast error 2017-04-06 17:55:54 +02:00