diff options
author | Nick Mathewson <nickm@torproject.org> | 2017-09-15 14:02:08 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2017-09-15 14:02:08 -0400 |
commit | 44fa86662182aa6a3d46d2ca72919d8e6a8f9584 (patch) | |
tree | f2b81335a5b4debe7f8441b1ab80865a42864878 /src/or/scheduler_kist.c | |
parent | a1c495b4b97bd479d263960552fa103f1e09ffbe (diff) | |
download | tor-44fa86662182aa6a3d46d2ca72919d8e6a8f9584.tar.gz tor-44fa86662182aa6a3d46d2ca72919d8e6a8f9584.zip |
fix some 32-bit warnings about printf arguments
Diffstat (limited to 'src/or/scheduler_kist.c')
-rw-r--r-- | src/or/scheduler_kist.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/or/scheduler_kist.c b/src/or/scheduler_kist.c index 54755cc40d..30e86f182c 100644 --- a/src/or/scheduler_kist.c +++ b/src/or/scheduler_kist.c @@ -408,7 +408,7 @@ update_socket_written(socket_table_t *table, channel_t *chan, size_t bytes) } log_debug(LD_SCHED, "chan=%" PRIu64 " wrote %lu bytes, old was %" PRIi64, - chan->global_identifier, bytes, ent->written); + chan->global_identifier, (unsigned long) bytes, ent->written); ent->written += bytes; } @@ -436,7 +436,8 @@ MOCK_IMPL(int, channel_should_write_to_kernel, MOCK_IMPL(void, channel_write_to_kernel, (channel_t *chan)) { log_debug(LD_SCHED, "Writing %lu bytes to kernel for chan %" PRIu64, - channel_outbuf_length(chan), chan->global_identifier); + (unsigned long)channel_outbuf_length(chan), + chan->global_identifier); connection_handle_write(TO_CONN(BASE_CHAN_TO_TLS(chan)->conn), 0); } |