mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix a compilation warning on clang
This commit is contained in:
+1
-1
@@ -3034,7 +3034,7 @@ record_num_bytes_transferred_impl(connection_t *conn,
|
||||
if (accounting_is_enabled(get_options())) {
|
||||
if (now > last_recorded_accounting_at && last_recorded_accounting_at) {
|
||||
accounting_add_bytes(num_read, num_written,
|
||||
now - last_recorded_accounting_at);
|
||||
(int)(now - last_recorded_accounting_at));
|
||||
} else {
|
||||
accounting_add_bytes(num_read, num_written, 0);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user