Explorar el Código

fix a signed/unsigned warning

svn:r5344
Nick Mathewson hace 20 años
padre
commit
80758473f8
Se han modificado 1 ficheros con 1 adiciones y 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)) {