[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

[tor-commits] [tor/master] Fix a compile warning on 64bit OS X



commit 68475fc5c5a806ebbb5657de1667dab2c3e09b7c
Author: Sebastian Hahn <sebastian@xxxxxxxxxxxxxx>
Date:   Wed Nov 23 01:41:37 2011 +0100

    Fix a compile warning on 64bit OS X
---
 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 9885066..be62459 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. */

_______________________________________________
tor-commits mailing list
tor-commits@xxxxxxxxxxxxxxxxxxxx
https://lists.torproject.org/cgi-bin/mailman/listinfo/tor-commits