diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2011-11-23 01:41:37 +0100 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2011-11-23 12:06:55 -0500 |
commit | 841247a5864064ce031988ca2dab5808b11408b2 (patch) | |
tree | 8a0ba66f82e3477d755b752e2cb23659afc8b402 /src | |
parent | 97a209ea28f1b64fba51157e3e695c676eb0cf8e (diff) | |
download | tor-841247a5864064ce031988ca2dab5808b11408b2.tar tor-841247a5864064ce031988ca2dab5808b11408b2.tar.gz |
Fix a compile warning on 64bit OS X
Backport of 68475fc5c5a806ebbb5657de1667dab2c3e09b7c which accidentally
only made it into master. Fixes bug 4547. Bug isn't in any released
version.
Diffstat (limited to 'src')
-rw-r--r-- | src/or/dirserv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 19d9702a9..634b3eca2 100644 --- a/src/or/dirserv.c +++ b/src/or/dirserv.c @@ -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. */ |