mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-28 14:23:30 +01:00
Fix a 32-big conversion warning in 11970 fix
This commit is contained in:
parent
6f20dd7bfc
commit
7f3563058d
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user