From 0702429cf778f4eba4440a1b0356924e4574e923 Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Thu, 30 Sep 2010 06:11:51 +0200 Subject: Note an XXX about potential overflow --- src/or/routerlist.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src') diff --git a/src/or/routerlist.c b/src/or/routerlist.c index ee8c45d0a4..e52165ed84 100644 --- a/src/or/routerlist.c +++ b/src/or/routerlist.c @@ -1928,6 +1928,8 @@ smartlist_choose_by_bandwidth(smartlist_t *sl, bandwidth_weight_rule_t rule, bitarray_set(guard_bits, i); if (is_known) { bandwidths[i] = (int32_t) this_bw; // safe since MAX_BELIEVABLE= 0); if (is_guard) total_guard_bw += this_bw; -- cgit v1.2.3-54-g00ecf