summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPeter Palfrader <peter@palfrader.org>2006-02-03 22:26:43 +0000
committerPeter Palfrader <peter@palfrader.org>2006-02-03 22:26:43 +0000
commit94fb3f06b338e580e6c141daeb0505866a47f82b (patch)
tree8529845b94415bafaad6b3c19f09e827d0db521b
parenta69b96af024e9608b0c903d08664ee565cf557d5 (diff)
downloadtor-94fb3f06b338e580e6c141daeb0505866a47f82b.tar.gz
tor-94fb3f06b338e580e6c141daeb0505866a47f82b.zip
Fix compiler warning on 64 bit archs
svn:r5903
-rw-r--r--src/or/directory.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c
index ed1ae55218..9ecaa70cf8 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -581,7 +581,7 @@ directory_send_command(connection_t *conn, const char *platform,
}
if (strlen(proxystring) + strlen(url) >= 4096) {
- warn(LD_BUG,"Bug: squid does not like URLs longer than 4095 bytes, this one is %d bytes long: %s%s", strlen(proxystring) + strlen(url), proxystring, url);
+ warn(LD_BUG,"Bug: squid does not like URLs longer than 4095 bytes, this one is %d bytes long: %s%s", (int)(strlen(proxystring) + strlen(url)), proxystring, url);
}
tor_snprintf(request, sizeof(request), "%s %s", httpcommand, proxystring);