Explorar o código

fix a signed/unsigned warning

svn:r5344
Nick Mathewson %!s(int64=20) %!d(string=hai) anos
pai
achega
80758473f8
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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)) {