[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

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



commit 87f9c51f6423230c2b6f7dfbd1c76975a39aece0
Author: Nick Mathewson <nickm@xxxxxxxxxxxxxx>
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;

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits