From b6aad994737458177ddf68939719f90e7909f656 Mon Sep 17 00:00:00 2001 From: Karsten Blees Date: Wed, 18 Dec 2013 14:41:27 +0100 Subject: hashmap.h: use 'unsigned int' for hash-codes everywhere Signed-off-by: Karsten Blees Signed-off-by: Junio C Hamano --- hashmap.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'hashmap.h') diff --git a/hashmap.h b/hashmap.h index f5b3b6107..a816ad47b 100644 --- a/hashmap.h +++ b/hashmap.h @@ -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; -- cgit v1.2.3