summaryrefslogtreecommitdiff
path: root/src/or/dirserv.c
diff options
context:
space:
mode:
authorSebastian Hahn <sebastian@torproject.org>2009-09-01 05:23:47 +0200
committerSebastian Hahn <sebastian@torproject.org>2009-09-01 22:16:46 +0200
commit0a71d1c6a7289cbadcef5f4a28dd94307decc5be (patch)
tree3a49133baf8c81fd7f962d9c0a8f01f63cb26a64 /src/or/dirserv.c
parenta95947b0d74ec8313313919624ec99a62b91ff5c (diff)
downloadtor-0a71d1c6a7289cbadcef5f4a28dd94307decc5be.tar.gz
tor-0a71d1c6a7289cbadcef5f4a28dd94307decc5be.zip
Fix compile warnings on Snow Leopard
Big thanks to nickm and arma for helping me with this!
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 a240fd4bbb..c4a339738e 100644
--- a/src/or/dirserv.c
+++ b/src/or/dirserv.c
@@ -2324,7 +2324,7 @@ measured_bw_line_apply(measured_bw_line_t *parsed_line,
if (rs) {
rs->has_measured_bw = 1;
- rs->measured_bw = parsed_line->bw;
+ rs->measured_bw = (uint32_t)parsed_line->bw;
} else {
log_info(LD_DIRSERV, "Node ID %s not found in routerstatus list",
parsed_line->node_hex);