From e7db789e82a7a2edc5c7e8230265f8ec83021f69 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Fri, 22 Feb 2008 19:09:45 +0000 Subject: r14399@tombo: nickm | 2008-02-22 14:09:38 -0500 More 64-to-32 fixes. Partial backport candidate. still not done. svn:r13680 --- src/or/networkstatus.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/networkstatus.c') diff --git a/src/or/networkstatus.c b/src/or/networkstatus.c index c6b8a0eb0f..b04800f2f5 100644 --- a/src/or/networkstatus.c +++ b/src/or/networkstatus.c @@ -1130,7 +1130,7 @@ update_consensus_networkstatus_fetch_time(time_t now) tor_assert(c->fresh_until < start); /* We must download the next one before c is invalid: */ tor_assert(start+dl_interval < c->valid_until); - time_to_download_next_consensus = start + crypto_rand_int(dl_interval); + time_to_download_next_consensus = start + crypto_rand_int((int)dl_interval); { char tbuf1[ISO_TIME_LEN+1]; char tbuf2[ISO_TIME_LEN+1]; -- cgit v1.2.3-54-g00ecf