소스 검색

fix a signed/unsigned warning

svn:r5344
Nick Mathewson 20 년 전
부모
커밋
80758473f8
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      src/or/connection.c

+ 1 - 1
src/or/connection.c

@@ -986,7 +986,7 @@ connection_bucket_read_limit(connection_t *conn)
 int
 connection_bucket_write_limit(connection_t *conn)
 {
-  int at_most;
+  unsigned int at_most;
 
   /* do a rudimentary round-robin so one circuit can't hog a connection */
   if (connection_speaks_cells(conn)) {