aboutsummaryrefslogtreecommitdiff
path: root/src/common/util.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-12-15 21:35:52 +0000
committerNick Mathewson <nickm@torproject.org>2003-12-15 21:35:52 +0000
commit4885e904906dcc967e3597301c17ad95bb77b5e0 (patch)
tree2991699afdd3ab55fdcd1c50965f4c0443786070 /src/common/util.c
parenta5aa80cc419d6831ce339496a1c644f2347496a2 (diff)
downloadtor-4885e904906dcc967e3597301c17ad95bb77b5e0.tar
tor-4885e904906dcc967e3597301c17ad95bb77b5e0.tar.gz
Make compile warning-free on cygwin
svn:r936
Diffstat (limited to 'src/common/util.c')
-rw-r--r--src/common/util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/util.c b/src/common/util.c
index 623ec05ba..1de6b99d6 100644
--- a/src/common/util.c
+++ b/src/common/util.c
@@ -532,7 +532,7 @@ int check_private_dir(const char *dirname, int create)
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) {