Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
David Goulet
Tor
Commits
44fa8666
Commit
44fa8666
authored
Sep 15, 2017
by
Nick Mathewson
⛰
Browse files
fix some 32-bit warnings about printf arguments
parent
a1c495b4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/or/scheduler_kist.c
View file @
44fa8666
...
...
@@ -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
);
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment