Hashmap demo: Fix hashing string

Not sure this ever worked...
This commit is contained in:
Laria 2022-01-04 21:28:38 +01:00
parent eaa6b723bc
commit 00e19ce242

View file

@ -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)