[or-cvs] fix a signed/unsigned warning

Nick Mathewson nickm at seul.org
Tue Nov 1 17:28:52 UTC 2005


Update of /home/or/cvsroot/tor/src/or
In directory moria:/tmp/cvs-serv32566/src/or

Modified Files:
	connection.c 
Log Message:
fix a signed/unsigned warning

Index: connection.c
===================================================================
RCS file: /home/or/cvsroot/tor/src/or/connection.c,v
retrieving revision 1.415
retrieving revision 1.416
diff -u -d -r1.415 -r1.416
--- connection.c	29 Oct 2005 18:19:37 -0000	1.415
+++ connection.c	1 Nov 2005 17:28:49 -0000	1.416
@@ -986,7 +986,7 @@
 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)) {



More information about the tor-commits mailing list