summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/dnsproxy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dnsproxy.c b/src/dnsproxy.c
index cf6f30e9..35bcaee7 100644
--- a/src/dnsproxy.c
+++ b/src/dnsproxy.c
@@ -1006,7 +1006,7 @@ static int cache_update(struct server_data *srv, unsigned char *msg,
cache_size++;
}
- DBG("cache %d %squestion \"%s\" type %d ttl %d size %ld",
+ DBG("cache %d %squestion \"%s\" type %d ttl %d size %zd",
cache_size, new_entry ? "new " : "old ",
question, type, ttl,
sizeof(*entry) + sizeof(*data) + data->data_len + qlen);