aboutsummaryrefslogtreecommitdiff
path: root/src/or/directory.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-03-31 20:58:35 +0000
committerNick Mathewson <nickm@torproject.org>2004-03-31 20:58:35 +0000
commit157cd7fe1528be75b3064642ec1f3a3db8f77ca7 (patch)
tree9d91043f7c1eb85117289191eabecd2935950b30 /src/or/directory.c
parentb4a61d1ab15174470a2ff8737125848d4d3abf4a (diff)
downloadtor-157cd7fe1528be75b3064642ec1f3a3db8f77ca7.tar
tor-157cd7fe1528be75b3064642ec1f3a3db8f77ca7.tar.gz
Fix warning
svn:r1409
Diffstat (limited to 'src/or/directory.c')
-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 b83351beb..61b507eaf 100644
--- a/src/or/directory.c
+++ b/src/or/directory.c
@@ -322,7 +322,7 @@ static int directory_handle_command_get(connection_t *conn,
log_fn(LOG_DEBUG,"Dumping directory to client.");
snprintf(tmp, sizeof(tmp), "HTTP/1.0 200 OK\r\nContent-Length: %d\r\n\r\n%s",
- dlen, cp);
+ (int)dlen, cp);
connection_write_to_buf(tmp, strlen(tmp), conn);
return 0;
}