Browse Source

fix a signed/unsigned warning

svn:r5344
Nick Mathewson 20 years ago
parent
commit
80758473f8
1 changed files with 1 additions and 1 deletions
  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)) {