summaryrefslogtreecommitdiff
path: root/src/or/relay.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2004-10-14 03:18:14 +0000
committerNick Mathewson <nickm@torproject.org>2004-10-14 03:18:14 +0000
commit1c9426d6e027d4a7789471691ad1703b05f60fad (patch)
tree0892be29c16011091754cb7fbfe1275bc172a42b /src/or/relay.c
parent3737566465f11bf2bd710239e38634590c4c4603 (diff)
downloadtor-1c9426d6e027d4a7789471691ad1703b05f60fad.tar.gz
tor-1c9426d6e027d4a7789471691ad1703b05f60fad.zip
Build without warnings on mac gcc 3.3
svn:r2487
Diffstat (limited to 'src/or/relay.c')
-rw-r--r--src/or/relay.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/or/relay.c b/src/or/relay.c
index 082f28f3fb..3c353b71d4 100644
--- a/src/or/relay.c
+++ b/src/or/relay.c
@@ -892,8 +892,8 @@ repeat_connection_edge_package_raw_inbuf:
connection_fetch_from_buf(payload, length, conn);
- log_fn(LOG_DEBUG,"(%d) Packaging %d bytes (%d waiting).", conn->s, length,
- (int)buf_datalen(conn->inbuf));
+ log_fn(LOG_DEBUG,"(%d) Packaging %d bytes (%d waiting).", conn->s,
+ (int)length, (int)buf_datalen(conn->inbuf));
if(connection_edge_send_command(conn, circ, RELAY_COMMAND_DATA,
payload, length, conn->cpath_layer) < 0)
@@ -940,7 +940,7 @@ void connection_edge_consider_sending_sendme(connection_t *conn) {
}
while(conn->deliver_window < STREAMWINDOW_START - STREAMWINDOW_INCREMENT) {
- log_fn(LOG_DEBUG,"Outbuf %d, Queueing stream sendme.", conn->outbuf_flushlen);
+ log_fn(LOG_DEBUG,"Outbuf %d, Queueing stream sendme.", (int)conn->outbuf_flushlen);
conn->deliver_window += STREAMWINDOW_INCREMENT;
if(connection_edge_send_command(conn, circ, RELAY_COMMAND_SENDME,
NULL, 0, conn->cpath_layer) < 0) {