Explorar o código

Avoid unsigned/sign compare warning from last patch.

Nick Mathewson %!s(int64=9) %!d(string=hai) anos
pai
achega
87f9c51f64
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      src/or/entrynodes.c

+ 1 - 1
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;