diff options
Diffstat (limited to 'tests/insert_and_lookup.c')
-rw-r--r-- | tests/insert_and_lookup.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/insert_and_lookup.c b/tests/insert_and_lookup.c index 5643bac..1e6ba0b 100644 --- a/tests/insert_and_lookup.c +++ b/tests/insert_and_lookup.c @@ -40,7 +40,7 @@ main(int argc, char **argv) uint32_t hash_str1 = fnv1_hash_string(str1); struct hash_entry *entry; - ht = hash_table_create(fnv1_hash_string, string_key_equals); + ht = hash_table_create_for_string(); hash_table_insert_pre_hashed(ht, hash_str1, str1, NULL); hash_table_insert(ht, str2, NULL); |