numam-dpdk/lib/librte_hash
Thomas Monjalon fa2f06b70e hash: fix header for C++
When built in a C++ application, the jhash include fails:

rte_jhash.h:123:22: error:
invalid conversion from ‘const void*’ to ‘const uint32_t*’ [-fpermissive]
  const uint32_t *k = key;
                      ^
The cast must be explicit for C++.

Fixes: 8718219a87 ("hash: add new jhash functions")

Signed-off-by: Thomas Monjalon <thomas.monjalon@6wind.com>
Acked-by: Pablo de Lara <pablo.de.lara.guarch@intel.com>
2016-02-21 11:47:57 +01:00
..
Makefile hash: use armv8-a CRC32 instructions 2015-11-25 22:13:15 +01:00
rte_cmp_arm64.h hash: replace libc memcmp with optimized functions for arm64 2015-11-25 22:11:37 +01:00
rte_cmp_x86.h remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
rte_crc_arm64.h hash: use armv8-a CRC32 instructions 2015-11-25 22:13:15 +01:00
rte_cuckoo_hash.c remove extra parentheses in return statement 2016-02-10 15:47:50 +01:00
rte_fbk_hash.c lib: fix whitespace 2015-06-12 11:10:10 +02:00
rte_fbk_hash.h hash: select CRC hash if armv8-a CRC extension available 2015-11-25 22:14:00 +01:00
rte_hash_crc.h hash: use armv8-a CRC32 instructions 2015-11-25 22:13:15 +01:00
rte_hash_version.map hash: customize compare function 2015-12-07 00:55:50 +01:00
rte_hash.h hash: fix build on IBM POWER and ARM 2015-12-09 22:02:33 +01:00
rte_jhash.h hash: fix header for C++ 2016-02-21 11:47:57 +01:00
rte_thash.h hash: fix build of toeplitz algorithm without SSE3 2015-07-30 02:15:32 +02:00