summaryrefslogtreecommitdiff
path: root/src/or/geoip.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2008-09-04 21:58:09 +0000
committerNick Mathewson <nickm@torproject.org>2008-09-04 21:58:09 +0000
commitc33dde4ac1dd8ec376d5ee2d5f0544b45b1484e4 (patch)
tree557afcd448902108efb75ee9ed4408d1408d87fc /src/or/geoip.c
parentfa2f72ded752689fc0ece225b9d8279ddd13b88d (diff)
downloadtor-c33dde4ac1dd8ec376d5ee2d5f0544b45b1484e4.tar.gz
tor-c33dde4ac1dd8ec376d5ee2d5f0544b45b1484e4.zip
Fix mingw build with --enable-gcc-warnings set.
svn:r16759
Diffstat (limited to 'src/or/geoip.c')
-rw-r--r--src/or/geoip.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c
index b795bccee7..e15f0ba523 100644
--- a/src/or/geoip.c
+++ b/src/or/geoip.c
@@ -443,7 +443,7 @@ geoip_get_client_history(time_t now, geoip_client_action_t action)
#endif
HT_FOREACH(ent, clientmap, &client_history) {
int country;
- if (((*ent)->last_seen & ACTION_MASK) != action)
+ if (((*ent)->last_seen & ACTION_MASK) != (int)action)
continue;
country = geoip_get_country_by_ip((*ent)->ipaddr);
if (country < 0)