[or-cvs] Build without warnings on mac gcc 3.3

Nick Mathewson nickm at seul.org
Thu Oct 14 03:18:16 UTC 2004


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

Modified Files:
	tortls.c 
Log Message:
Build without warnings on mac gcc 3.3

Index: tortls.c
===================================================================
RCS file: /home/or/cvsroot/src/common/tortls.c,v
retrieving revision 1.66
retrieving revision 1.67
diff -u -d -r1.66 -r1.67
--- tortls.c	14 Oct 2004 02:48:57 -0000	1.66
+++ tortls.c	14 Oct 2004 03:18:13 -0000	1.67
@@ -465,7 +465,7 @@
     /* if WANTWRITE last time, we must use the _same_ n as before */
     tor_assert(n >= tls->wantwrite_n);
     log_fn(LOG_DEBUG,"resuming pending-write, (%d to flush, reusing %d)",
-           n, tls->wantwrite_n);
+           (int)n, (int)tls->wantwrite_n);
     n = tls->wantwrite_n;
     tls->wantwrite_n = 0;
   }



More information about the tor-commits mailing list