[or-cvs] r9473: Fix another VC compiler warning. (in tor/trunk: . src/or)
nickm at seul.org
nickm at seul.org
Thu Feb 1 18:09:36 UTC 2007
Author: nickm
Date: 2007-02-01 13:09:34 -0500 (Thu, 01 Feb 2007)
New Revision: 9473
Modified:
tor/trunk/
tor/trunk/src/or/routerlist.c
Log:
r11621 at catbus: nickm | 2007-02-01 13:09:18 -0500
Fix another VC compiler warning.
Property changes on: tor/trunk
___________________________________________________________________
svk:merge ticket from /tor/trunk [r11621] on 8246c3cf-6607-4228-993b-4d95d33730f1
Modified: tor/trunk/src/or/routerlist.c
===================================================================
--- tor/trunk/src/or/routerlist.c 2007-02-01 18:09:27 UTC (rev 9472)
+++ tor/trunk/src/or/routerlist.c 2007-02-01 18:09:34 UTC (rev 9473)
@@ -971,7 +971,7 @@
if (!i) /* no hints; _really_ guess */
this_bw = status->is_fast ? 40000 : 20000;
else /* assume it'll be the average we've seen so far */
- this_bw = partial/i;
+ this_bw = (uint32_t)(partial/i);
}
} else {
router = smartlist_get(sl, i);
More information about the tor-commits
mailing list