mirror of
https://gitlab.torproject.org/tpo/core/tor.git
synced 2024-12-06 19:41:15 +01:00
Fix an implicit-narrowing warning
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user