diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-06-20 17:49:06 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-06-20 17:49:06 -0400 |
commit | f91ea506f0a9af55a520dab4c88abf0c01bd2ce1 (patch) | |
tree | ff6505ed7083fb28eaf897adc819c0e723d018d2 /src/or/geoip.c | |
parent | 7589fd6d403ac2aecb991a07069d78c6dccae719 (diff) | |
download | tor-f91ea506f0a9af55a520dab4c88abf0c01bd2ce1.tar.gz tor-f91ea506f0a9af55a520dab4c88abf0c01bd2ce1.zip |
Fix clang warnings introduced by 9f2b887c5d251b93ee9def708
Diffstat (limited to 'src/or/geoip.c')
-rw-r--r-- | src/or/geoip.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c index 2c917c564d..c66bee0faa 100644 --- a/src/or/geoip.c +++ b/src/or/geoip.c @@ -150,7 +150,7 @@ geoip_add_entry(const tor_addr_t *low, const tor_addr_t *high, idx = ((uintptr_t)idxplus1_)-1; } { - geoip_country_t *c = smartlist_get(geoip_countries, idx); + geoip_country_t *c = smartlist_get(geoip_countries, (int)idx); tor_assert(!strcasecmp(c->countrycode, country)); } @@ -1884,4 +1884,3 @@ geoip_free_all(void) memset(geoip_digest, 0, sizeof(geoip_digest)); memset(geoip6_digest, 0, sizeof(geoip6_digest)); } - |