Fix a compile warning on 64bit OS X

Backport of 68475fc5c5 which accidentally
only made it into master. Fixes bug 4547. Bug isn't in any released
version.
This commit is contained in:
Sebastian Hahn 2011-11-23 01:41:37 +01:00 committed by Nick Mathewson
parent 97a209ea28
commit 841247a586

View File

@ -1909,7 +1909,7 @@ dirserv_compute_performance_thresholds(routerlist_t *rl)
* of Fast nodes. */
if (options->AuthDirFastGuarantee &&
fast_bandwidth > options->AuthDirFastGuarantee)
fast_bandwidth = options->AuthDirFastGuarantee;
fast_bandwidth = (uint32_t)options->AuthDirFastGuarantee;
/* Now that we have a time-known that 7/8 routers are known longer than,
* fill wfus with the wfu of every such "familiar" router. */