[tor-commits] [tor/master] Avoid unsigned/sign compare warning from last patch.

nickm at torproject.org nickm at torproject.org
Mon Sep 1 19:42:32 UTC 2014


commit 87f9c51f6423230c2b6f7dfbd1c76975a39aece0
Author: Nick Mathewson <nickm at torproject.org>
Date:   Mon Sep 1 15:42:17 2014 -0400

    Avoid unsigned/sign compare warning from last patch.
---
 src/or/entrynodes.c |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c
index b5dd09f..b95391e 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;



More information about the tor-commits mailing list