aboutsummaryrefslogtreecommitdiff
path: root/src/or/channeltls.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2016-06-01 16:35:00 -0400
committerNick Mathewson <nickm@torproject.org>2016-06-11 10:11:53 -0400
commitc3adbf755b0bb6f77488a268dbc4f2bdc0e59b01 (patch)
tree6a2bf63a2589f3a4379a61db3c47bf1faa5507a4 /src/or/channeltls.c
parent26e979b342c730384d1a3a8baca52000d2cad4f0 (diff)
downloadtor-c3adbf755b0bb6f77488a268dbc4f2bdc0e59b01.tar.gz
tor-c3adbf755b0bb6f77488a268dbc4f2bdc0e59b01.zip
Resolve some warnings from OSX clang.
Diffstat (limited to 'src/or/channeltls.c')
-rw-r--r--src/or/channeltls.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/channeltls.c b/src/or/channeltls.c
index a7de98625e..5833b2ae63 100644
--- a/src/or/channeltls.c
+++ b/src/or/channeltls.c
@@ -445,7 +445,7 @@ channel_tls_free_method(channel_t *chan)
static double
channel_tls_get_overhead_estimate_method(channel_t *chan)
{
- double overhead = 1.0f;
+ double overhead = 1.0;
channel_tls_t *tlschan = BASE_CHAN_TO_TLS(chan);
tor_assert(tlschan);