From: Sebastian Hahn Date: Wed, 23 Nov 2011 00:41:37 +0000 (+0100) Subject: Fix a compile warning on 64bit OS X X-Git-Tag: tor-0.2.3.8-alpha^0 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=68475fc5c5a806ebbb5657de1667dab2c3e09b7c;p=thirdparty%2Ftor.git Fix a compile warning on 64bit OS X --- diff --git a/src/or/dirserv.c b/src/or/dirserv.c index 988506692d..be62459b16 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. */