diff options
author | Nick Mathewson <nickm@torproject.org> | 2018-04-10 13:56:45 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2018-04-13 10:41:14 -0400 |
commit | 12f58f2f87b2f0c513f63018da4170b7b663e4e9 (patch) | |
tree | 8af839ff56600c1f4fb55a8e52156d6683a37509 /src/or/main.c | |
parent | 6be994fa717cf73e9cfcb63f49f2d335f2d39bb9 (diff) | |
download | tor-12f58f2f87b2f0c513f63018da4170b7b663e4e9.tar.gz tor-12f58f2f87b2f0c513f63018da4170b7b663e4e9.zip |
Remove a bunch of int casts; make clang happier.
Diffstat (limited to 'src/or/main.c')
-rw-r--r-- | src/or/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/or/main.c b/src/or/main.c index f59ee24a7e..8757916173 100644 --- a/src/or/main.c +++ b/src/or/main.c @@ -161,10 +161,10 @@ token_bucket_t global_relayed_bucket; /** What was the read/write bucket before the last second_elapsed_callback() * call? (used to determine how many bytes we've read). */ -static int stats_prev_global_read_bucket; +static size_t stats_prev_global_read_bucket; /** What was the write bucket before the last second_elapsed_callback() call? * (used to determine how many bytes we've written). */ -static int stats_prev_global_write_bucket; +static size_t stats_prev_global_write_bucket; /* DOCDOC stats_prev_n_read */ static uint64_t stats_prev_n_read = 0; |