Fix a 32-big conversion warning in 11970 fix

This commit is contained in:
Nick Mathewson 2014-06-11 11:29:44 -04:00
parent 6f20dd7bfc
commit 7f3563058d

View File

@ -1352,7 +1352,7 @@ typedef struct cached_getaddrinfo_item_t {
static unsigned static unsigned
cached_getaddrinfo_item_hash(const cached_getaddrinfo_item_t *item) cached_getaddrinfo_item_hash(const cached_getaddrinfo_item_t *item)
{ {
return siphash24g(item->name, strlen(item->name)) + item->family; return (unsigned)siphash24g(item->name, strlen(item->name)) + item->family;
} }
static unsigned static unsigned