| 84 void *value |
84 void *value |
| 85 ) { |
85 ) { |
| 86 struct cx_hash_map_s *hash_map = (struct cx_hash_map_s *) map; |
86 struct cx_hash_map_s *hash_map = (struct cx_hash_map_s *) map; |
| 87 const CxAllocator *allocator = map->collection.allocator; |
87 const CxAllocator *allocator = map->collection.allocator; |
| 88 |
88 |
| 89 unsigned hash = key.hash; |
89 uint64_t hash = key.hash; |
| 90 if (hash == 0) { |
90 if (hash == 0) { |
| 91 cx_hash_murmur(&key); |
91 cx_hash_murmur(&key); |
| 92 hash = key.hash; |
92 hash = key.hash; |
| 93 } |
93 } |
| 94 |
94 |