Hashmap demo: Fix hashing string
Not sure this ever worked...
This commit is contained in:
parent
eaa6b723bc
commit
00e19ce242
1 changed files with 1 additions and 1 deletions
|
|
@ -20,7 +20,7 @@ apfl_hash calc_hash_impl(void *opaque, const void *_key)
|
|||
|
||||
const char * const *key = _key;
|
||||
|
||||
return apfl_hash_fnv1a(key, strlen(*key));
|
||||
return apfl_hash_fnv1a(*key, strlen(*key));
|
||||
}
|
||||
|
||||
void destroy_kv_impl(void *opaque, void *_data)
|
||||
|
|
|
|||
Loading…
Reference in a new issue