summaryrefslogtreecommitdiff
path: root/src/or/entrynodes.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2014-09-01 15:42:17 -0400
committerNick Mathewson <nickm@torproject.org>2014-09-01 15:42:17 -0400
commit87f9c51f6423230c2b6f7dfbd1c76975a39aece0 (patch)
treef1340d5b1fd6cd825725707041944b981c3a1223 /src/or/entrynodes.c
parent60a3897ed9ed4fa81253fffa67d4f0c178090bbd (diff)
downloadtor-87f9c51f6423230c2b6f7dfbd1c76975a39aece0.tar.gz
tor-87f9c51f6423230c2b6f7dfbd1c76975a39aece0.zip
Avoid unsigned/sign compare warning from last patch.
Diffstat (limited to 'src/or/entrynodes.c')
-rw-r--r--src/or/entrynodes.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index b5dd09f6f1..b95391e37a 100644
--- a/src/or/entrynodes.c
+++ b/src/or/entrynodes.c
@@ -175,7 +175,7 @@ entry_is_time_to_retry(const entry_guard_t *e, time_t now)
time_t ith_deadline_for_retry;
time_t unreachable_for;
- int i;
+ unsigned i;
if (e->last_attempted < e->unreachable_since)
return 1;