diff options
author | Sebastian Hahn <sebastian@torproject.org> | 2009-09-01 05:23:47 +0200 |
---|---|---|
committer | Sebastian Hahn <sebastian@torproject.org> | 2009-09-01 22:16:46 +0200 |
commit | 0a71d1c6a7289cbadcef5f4a28dd94307decc5be (patch) | |
tree | 3a49133baf8c81fd7f962d9c0a8f01f63cb26a64 /src/or/dirserv.c | |
parent | a95947b0d74ec8313313919624ec99a62b91ff5c (diff) | |
download | tor-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.c | 2 |
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); |