diff options
author | Karsten Blees <karsten.blees@gmail.com> | 2013-12-18 14:41:27 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-02-24 15:26:30 -0800 |
commit | b6aad994737458177ddf68939719f90e7909f656 (patch) | |
tree | 89bdfde589c3659687f88516ccab97f74b55cfc0 /hashmap.h | |
parent | e8fa59b9081d90299aa5b41412bf93e8856a612b (diff) | |
download | git-b6aad994737458177ddf68939719f90e7909f656.tar.gz |
hashmap.h: use 'unsigned int' for hash-codes everywhere
Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'hashmap.h')
-rw-r--r-- | hashmap.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -43,7 +43,7 @@ extern void hashmap_free(struct hashmap *map, int free_entries); /* hashmap_entry functions */ -static inline void hashmap_entry_init(void *entry, int hash) +static inline void hashmap_entry_init(void *entry, unsigned int hash) { struct hashmap_entry *e = entry; e->hash = hash; |