]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Fix a compile warning on 64bit OS X tor-0.2.3.8-alpha
authorSebastian Hahn <sebastian@torproject.org>
Wed, 23 Nov 2011 00:41:37 +0000 (01:41 +0100)
committerSebastian Hahn <sebastian@torproject.org>
Wed, 23 Nov 2011 00:41:37 +0000 (01:41 +0100)
src/or/dirserv.c

index 988506692d8516ca0c5b0759cc7a3ea47bcd1604..be62459b163fa6d230edb7b41b7ec060bca05bef 100644 (file)
@@ -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. */