diff options
author | Nick Mathewson <nickm@torproject.org> | 2011-03-18 12:42:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-03-18 12:42:00 -0400 |
commit | fe86be61b6d84fbb442b13aa52139e6a3892dac0 (patch) | |
tree | 4a8896671c13959b630472dc3318919abba23e2b /src/or/geoip.c | |
parent | f3d666366555226ec2ad0f647489a1d42145a2eb (diff) | |
download | tor-fe86be61b6d84fbb442b13aa52139e6a3892dac0.tar.gz tor-fe86be61b6d84fbb442b13aa52139e6a3892dac0.zip |
Fix signed/unsigned compare warning
Diffstat (limited to 'src/or/geoip.c')
-rw-r--r-- | src/or/geoip.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/geoip.c b/src/or/geoip.c index a99165488a..654241c1c0 100644 --- a/src/or/geoip.c +++ b/src/or/geoip.c @@ -426,7 +426,7 @@ geoip_note_client_seen(geoip_client_action_t action, ent->action = (int)action; HT_INSERT(clientmap, &client_history, ent); } - if (now / 60 <= MAX_LAST_SEEN_IN_MINUTES && now >= 0) + if (now / 60 <= (int)MAX_LAST_SEEN_IN_MINUTES && now >= 0) ent->last_seen_in_minutes = (unsigned)(now/60); else ent->last_seen_in_minutes = 0; |