]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Avoid unsigned/sign compare warning from last patch.
authorNick Mathewson <nickm@torproject.org>
Mon, 1 Sep 2014 19:42:17 +0000 (15:42 -0400)
committerNick Mathewson <nickm@torproject.org>
Mon, 1 Sep 2014 19:42:17 +0000 (15:42 -0400)
src/or/entrynodes.c

index b5dd09f6f15a817cfc64f05dd7784814ae706f6a..b95391e37a4bd4ae8026fe6b16e1566f880646ca 100644 (file)
@@ -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;