diff options
author | Nick Mathewson <nickm@torproject.org> | 2016-06-01 16:35:00 -0400 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2016-06-11 10:11:53 -0400 |
commit | c3adbf755b0bb6f77488a268dbc4f2bdc0e59b01 (patch) | |
tree | 6a2bf63a2589f3a4379a61db3c47bf1faa5507a4 /src/test/test_channel.c | |
parent | 26e979b342c730384d1a3a8baca52000d2cad4f0 (diff) | |
download | tor-c3adbf755b0bb6f77488a268dbc4f2bdc0e59b01.tar.gz tor-c3adbf755b0bb6f77488a268dbc4f2bdc0e59b01.zip |
Resolve some warnings from OSX clang.
Diffstat (limited to 'src/test/test_channel.c')
-rw-r--r-- | src/test/test_channel.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/test_channel.c b/src/test/test_channel.c index 79bc5ac949..f37e71816e 100644 --- a/src/test/test_channel.c +++ b/src/test/test_channel.c @@ -1584,7 +1584,7 @@ test_channel_queue_size(void *arg) /* One cell, times an overhead factor of 1.0 */ tt_u64_op(ch->bytes_queued_for_xmit, ==, 512); /* Try a different overhead factor */ - test_overhead_estimate = 0.5f; + test_overhead_estimate = 0.5; /* This one should be ignored since it's below 1.0 */ channel_update_xmit_queue_size(ch); tt_u64_op(ch->bytes_queued_for_xmit, ==, 512); |