diff options
author | Nick Mathewson <nickm@torproject.org> | 2015-02-18 09:34:15 -0500 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2015-02-18 09:34:15 -0500 |
commit | 6378bcf4b9039ae563d793c97f2399feaf959750 (patch) | |
tree | 6be9159fcebaf9a20386601e16029d083c5f9acb | |
parent | 9e6147a40c10343b880be175c654a7258c5496ef (diff) | |
download | tor-6378bcf4b9039ae563d793c97f2399feaf959750.tar.gz tor-6378bcf4b9039ae563d793c97f2399feaf959750.zip |
Fix an implicit-narrowing warning
-rw-r--r-- | src/or/entrynodes.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/entrynodes.c b/src/or/entrynodes.c index 9b838b5b2a..30108b6041 100644 --- a/src/or/entrynodes.c +++ b/src/or/entrynodes.c @@ -1751,7 +1751,7 @@ guard_get_guardfraction_bandwidth(guardfraction_bandwidth_t *guardfraction_bw, guardfraction_bw->guard_bw = (int) guard_bw; - guardfraction_bw->non_guard_bw = orig_bandwidth - guard_bw; + guardfraction_bw->non_guard_bw = orig_bandwidth - (int) guard_bw; } /** A list of configured bridges. Whenever we actually get a descriptor |