diff options
author | Nick Mathewson <nickm@torproject.org> | 2003-12-16 05:33:11 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2003-12-16 05:33:11 +0000 |
commit | 7c439c30d00e4851458b66c25a848e27d30c7abe (patch) | |
tree | 2332de0114985ff595f7d0e561185ecbc2a314e0 /src/or/directory.c | |
parent | eeae6157ed824dd59c5474b522e1703cb86c230b (diff) | |
download | tor-7c439c30d00e4851458b66c25a848e27d30c7abe.tar.gz tor-7c439c30d00e4851458b66c25a848e27d30c7abe.zip |
Resolve format warnings on MacOS X 10.3
svn:r938
Diffstat (limited to 'src/or/directory.c')
-rw-r--r-- | src/or/directory.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/directory.c b/src/or/directory.c index 78e6d4a9f8..30da4dc666 100644 --- a/src/or/directory.c +++ b/src/or/directory.c @@ -85,7 +85,7 @@ static int directory_send_command(connection_t *conn, int command) { return -1; } snprintf(tmp, sizeof(tmp), "POST / HTTP/1.0\r\nContent-Length: %d\r\n\r\n%s", - strlen(s), s); + (int)strlen(s), s); connection_write_to_buf(tmp, strlen(tmp), conn); conn->state = DIR_CONN_STATE_CLIENT_SENDING_UPLOAD; break; |