Explorar el Código

Avoid unsigned/sign compare warning from last patch.

Nick Mathewson hace 9 años
padre
commit
87f9c51f64
Se han modificado 1 ficheros con 1 adiciones y 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;