X-Git-Url: https://gerrit.fd.io/r/gitweb?a=blobdiff_plain;f=lib%2Flibrte_table%2Frte_table_hash_cuckoo.c;h=c6522825439611e3496147879301b66a95200bba;hb=aa00ee35bc549d2e1e3662322faa4fca4015a8aa;hp=f3845c752b9273c1330db148afc8e6ee9f74a203;hpb=485c8d32263895c0eefb59d2e070ba5d1e2aab22;p=deb_dpdk.git 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