diff options
Diffstat (limited to 'src/ats/plugin_ats_proportional.c')
-rw-r--r-- | src/ats/plugin_ats_proportional.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ats/plugin_ats_proportional.c b/src/ats/plugin_ats_proportional.c index 9ad00bbb3..7dae3c8be 100644 --- a/src/ats/plugin_ats_proportional.c +++ b/src/ats/plugin_ats_proportional.c | |||
@@ -215,7 +215,7 @@ is_bandwidth_available_in_network (struct Network *net, | |||
215 | unsigned int na; | 215 | unsigned int na; |
216 | uint32_t min_bw = ntohl (GNUNET_CONSTANTS_DEFAULT_BW_IN_OUT.value__); | 216 | uint32_t min_bw = ntohl (GNUNET_CONSTANTS_DEFAULT_BW_IN_OUT.value__); |
217 | 217 | ||
218 | GNUNET_assert (net->active_addresses + extra >= 0); | 218 | GNUNET_assert (((int)net->active_addresses) + extra >= 0); |
219 | na = net->active_addresses + extra; | 219 | na = net->active_addresses + extra; |
220 | if (0 == na) | 220 | if (0 == na) |
221 | return GNUNET_YES; | 221 | return GNUNET_YES; |