aboutsummaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2003-12-16 05:33:11 +0000
committerNick Mathewson <nickm@torproject.org>2003-12-16 05:33:11 +0000
commit7c439c30d00e4851458b66c25a848e27d30c7abe (patch)
tree2332de0114985ff595f7d0e561185ecbc2a314e0 /src/or/connection_edge.c
parenteeae6157ed824dd59c5474b522e1703cb86c230b (diff)
downloadtor-7c439c30d00e4851458b66c25a848e27d30c7abe.tar.gz
tor-7c439c30d00e4851458b66c25a848e27d30c7abe.zip
Resolve format warnings on MacOS X 10.3
svn:r938
Diffstat (limited to 'src/or/connection_edge.c')
-rw-r--r--src/or/connection_edge.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/connection_edge.c b/src/or/connection_edge.c
index 650023a3a0..32b7c688bc 100644
--- a/src/or/connection_edge.c
+++ b/src/or/connection_edge.c
@@ -893,8 +893,8 @@ static uint32_t client_dns_lookup_entry(const char *address)
assert(address);
if (inet_aton(address, &in)) {
- log_fn(LOG_DEBUG, "Using static address %s (%08lX)", address,
- ntohl(in.s_addr));
+ log_fn(LOG_DEBUG, "Using static address %s (%08lX)", address,
+ (unsigned long)ntohl(in.s_addr));
return ntohl(in.s_addr);
}
search.address = (char*)address;