util: hashtable: make hashing prototypes match
[mesa.git] / src / util / hash_table.h
index cf939130fcf9ab453c30634dff46330f7d420975..d3e0758b26517c4225ea302e3d892e4a42c6d709 100644 (file)
@@ -94,7 +94,7 @@ _mesa_hash_table_random_entry(struct hash_table *ht,
                               bool (*predicate)(struct hash_entry *entry));
 
 uint32_t _mesa_hash_data(const void *data, size_t size);
-uint32_t _mesa_hash_string(const char *key);
+uint32_t _mesa_hash_string(const void *key);
 bool _mesa_key_string_equal(const void *a, const void *b);
 bool _mesa_key_pointer_equal(const void *a, const void *b);