[or-cvs] Fix warning

Nick Mathewson nickm at seul.org
Wed Mar 31 20:58:37 UTC 2004


Update of /home/or/cvsroot/src/or
In directory moria.mit.edu:/tmp/cvs-serv16659/src/or

Modified Files:
	directory.c 
Log Message:
Fix warning

Index: directory.c
===================================================================
RCS file: /home/or/cvsroot/src/or/directory.c,v
retrieving revision 1.76
retrieving revision 1.77
diff -u -d -r1.76 -r1.77
--- directory.c	31 Mar 2004 05:10:34 -0000	1.76
+++ directory.c	31 Mar 2004 20:58:35 -0000	1.77
@@ -322,7 +322,7 @@
 
     log_fn(LOG_DEBUG,"Dumping directory to client.");
     snprintf(tmp, sizeof(tmp), "HTTP/1.0 200 OK\r\nContent-Length: %d\r\n\r\n%s",
-             dlen, cp);
+             (int)dlen, cp);
     connection_write_to_buf(tmp, strlen(tmp), conn);
     return 0;
   }



More information about the tor-commits mailing list