aboutsummaryrefslogtreecommitdiffstats
path: root/lib/librte_table/rte_table_hash_cuckoo.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/librte_table/rte_table_hash_cuckoo.c')
-rw-r--r--lib/librte_table/rte_table_hash_cuckoo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/librte_table/rte_table_hash_cuckoo.c b/lib/librte_table/rte_table_hash_cuckoo.c
index f3845c75..c6522825 100644
--- a/lib/librte_table/rte_table_hash_cuckoo.c
+++ b/lib/librte_table/rte_table_hash_cuckoo.c
@@ -136,7 +136,7 @@ rte_table_hash_cuckoo_create(void *params,
struct rte_hash_parameters hash_cuckoo_params = {
.entries = p->n_keys,
.key_len = p->key_size,
- .hash_func = (rte_hash_function)(p->f_hash),
+ .hash_func = (rte_hash_function)(void *)(p->f_hash),
.hash_func_init_val = p->seed,
.socket_id = socket_id,
.name = p->name