summaryrefslogtreecommitdiff
path: root/src/or/dns.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/or/dns.c
parenta5aa80cc419d6831ce339496a1c644f2347496a2 (diff)
downloadtor-4885e904906dcc967e3597301c17ad95bb77b5e0.tar.gz
tor-4885e904906dcc967e3597301c17ad95bb77b5e0.zip
Make compile warning-free on cygwin
svn:r936
Diffstat (limited to 'src/or/dns.c')
-rw-r--r--src/or/dns.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dns.c b/src/or/dns.c
index 8225b4e2b0..269e3dcff1 100644
--- a/src/or/dns.c
+++ b/src/or/dns.c
@@ -75,7 +75,7 @@ static void purge_expired_resolves(uint32_t now) {
*/
while(oldest_cached_resolve && (oldest_cached_resolve->expire < now)) {
resolve = oldest_cached_resolve;
- log(LOG_DEBUG,"Forgetting old cached resolve (expires %d)", resolve->expire);
+ log(LOG_DEBUG,"Forgetting old cached resolve (expires %lu)", (unsigned long)resolve->expire);
oldest_cached_resolve = resolve->next;
if(!oldest_cached_resolve) /* if there are no more, */
newest_cached_resolve = NULL; /* then make sure the list's tail knows that too */