From: Nick Mathewson Date: Wed, 11 Jun 2014 15:29:44 +0000 (-0400) Subject: Fix a 32-big conversion warning in 11970 fix X-Git-Tag: tor-0.2.5.5-alpha~16 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=7f3563058d6b9215fe93116a71db9573e790e017;p=thirdparty%2Ftor.git Fix a 32-big conversion warning in 11970 fix --- diff --git a/src/common/sandbox.c b/src/common/sandbox.c index 9581fac511..05b91be7be 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