소스 검색

Avoid unsigned/sign compare warning from last patch.

Nick Mathewson 9 년 전
부모
커밋
87f9c51f64
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  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;