[or-cvs] Make compile warning-free on cygwin

Nick Mathewson nickm at seul.org
Mon Dec 15 21:35:54 UTC 2003


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

Modified Files:
	util.c 
Log Message:
Make compile warning-free on cygwin

Index: util.c
===================================================================
RCS file: /home/or/cvsroot/src/common/util.c,v
retrieving revision 1.49
retrieving revision 1.50
diff -u -d -r1.49 -r1.50
--- util.c	14 Dec 2003 05:00:09 -0000	1.49
+++ util.c	15 Dec 2003 21:35:52 -0000	1.50
@@ -532,7 +532,7 @@
     return -1;
   }
   if (st.st_uid != getuid()) {
-    log(LOG_WARN, "%s is not owned by this UID (%d)", dirname, getuid());
+    log(LOG_WARN, "%s is not owned by this UID (%d)", dirname, (int)getuid());
     return -1;
   }
   if (st.st_mode & 0077) {



More information about the tor-commits mailing list