mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-11 05:33:47 +01:00
make the 64 bit args print correctly on 64 bit archs
svn:r3123
This commit is contained in:
parent
fd4c624677
commit
470cdea7f8
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user