summaryrefslogtreecommitdiff
path: root/src/or/connection_edge.c
diff options
context:
space:
mode:
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;