aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-06-11 11:29:44 -0400
committerNick Mathewson <nickm@torproject.org>2014-06-11 11:29:44 -0400
commit7f3563058d6b9215fe93116a71db9573e790e017 (patch)
tree77f512d80075dce78dde4dee01d4f2606da97beb
parent6f20dd7bfc256e650b0d04f70f06c9837b90158d (diff)
downloadtor-7f3563058d6b9215fe93116a71db9573e790e017.tar
tor-7f3563058d6b9215fe93116a71db9573e790e017.tar.gz
Fix a 32-big conversion warning in 11970 fix
-rw-r--r--src/common/sandbox.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/sandbox.c b/src/common/sandbox.c
index 9581fac51..05b91be7b 100644
--- a/src/common/sandbox.c
+++ b/src/common/sandbox.c
@@ -1352,7 +1352,7 @@ typedef struct cached_getaddrinfo_item_t {
static unsigned
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