Skip to content
Snippets Groups Projects
Commit 470cdea7 authored by Roger Dingledine's avatar Roger Dingledine
Browse files

make the 64 bit args print correctly on 64 bit archs

svn:r3123
parent fd4c6246
No related branches found
No related tags found
No related merge requests found
......@@ -610,8 +610,8 @@ read_bandwidth_usage(void)
(char*)smartlist_get(elts,1),
(unsigned long)n_seconds_active_in_interval,
(unsigned long)((uint64_t)expected_bandwidth_usage*1024/60),
n_bytes_read_in_interval,
n_bytes_written_in_interval);
U64_PRINTF_ARG(n_bytes_read_in_interval),
U64_PRINTF_ARG(n_bytes_written_in_interval));
SMARTLIST_FOREACH(elts, char *, cp, tor_free(cp));
smartlist_free(elts);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment