From 0a71d1c6a7289cbadcef5f4a28dd94307decc5be Mon Sep 17 00:00:00 2001 From: Sebastian Hahn Date: Tue, 1 Sep 2009 05:23:47 +0200 Subject: Fix compile warnings on Snow Leopard Big thanks to nickm and arma for helping me with this! --- src/or/dirserv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/dirserv.c') 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); -- cgit v1.2.3-54-g00ecf