aboutsummaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2011-11-23 01:41:37 +0100
committerSebastian Hahn <sebastian@torproject.org>2011-11-23 01:41:37 +0100
commit68475fc5c5a806ebbb5657de1667dab2c3e09b7c (patch)
tree61649a5867d1366395119994fff36f8bc119369e /src/or/dirserv.c
parenta58d9e60456bbb0e5107f6bc0d33c708f5be5061 (diff)
downloadtor-68475fc5c5a806ebbb5657de1667dab2c3e09b7c.tar
tor-68475fc5c5a806ebbb5657de1667dab2c3e09b7c.tar.gz
Fix a compile warning on 64bit OS X
Diffstat (limited to 'src/or/dirserv.c')
-rw-r--r--src/or/dirserv.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/or/dirserv.c b/src/or/dirserv.c
index 988506692..be62459b1 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -1941,7 +1941,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. */