]> git.droids-corp.org - dpdk.git/commit
table: fix C++ include
authorBruce Richardson <bruce.richardson@intel.com>
Thu, 10 Feb 2022 15:42:37 +0000 (15:42 +0000)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 10 Feb 2022 22:05:32 +0000 (23:05 +0100)
commit097ea8e274440919433cd932ec7a1b2f3956180b
treee2dbe8459396da9d18f769d039b45676ee169a7a
parente82470e22528ad7c0277aa94ecbc6b97f3bdb4c2
table: fix C++ include

Since C++ doesn't support automatic casting from void * to other types,
we need to explicitly add the casts to any header files in DPDK.

Fixes: ea7be0a0386e ("lib/librte_table: add hash function headers")
Cc: stable@dpdk.org
Signed-off-by: Bruce Richardson <bruce.richardson@intel.com>
lib/table/rte_table_hash_func.h