소스 검색

Fix another signed/unsigned comparison bug

Nick Mathewson 10 년 전
부모
커밋
f1204e0c02
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/or.h

+ 1 - 1
src/or/or.h

@@ -4869,7 +4869,7 @@ typedef struct rend_intro_point_t {
    * will accept. This is a random value between
    * INTRO_POINT_MIN_LIFETIME_INTRODUCTIONS and
    * INTRO_POINT_MAX_LIFETIME_INTRODUCTIONS. */
-  unsigned int max_introductions;
+  int max_introductions;
 
   /** (Service side only) The time at which this intro point was first
    * published, or -1 if this intro point has not yet been