소스 검색

Add explicit cast to make gcc happy

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

+ 1 - 1
src/or/rendservice.c

@@ -991,7 +991,7 @@ rend_service_note_removing_intro_point(rend_service_t *service,
     } else if (fractional_n_intro_points_wanted_to_replace_this_one < 0) {
       n_intro_points_wanted_to_replace_this_one = 0;
     } else {
-      n_intro_points_wanted_to_replace_this_one =
+      n_intro_points_wanted_to_replace_this_one = (unsigned)
         fractional_n_intro_points_wanted_to_replace_this_one;
     }