mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-11-27 22:03:31 +01:00
Fix an implicit-narrowing warning
This commit is contained in:
parent
9e6147a40c
commit
6378bcf4b9
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user