From: Nick Mathewson Date: Mon, 2 Jan 2006 00:42:19 +0000 (+0000) Subject: Possible fix to state-load bug reported by weasel. X-Git-Tag: tor-0.1.1.11-alpha~94 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4868d77ab8e8cd1e31e6051822236749c9a8fee4;p=thirdparty%2Ftor.git Possible fix to state-load bug reported by weasel. svn:r5692 --- diff --git a/src/or/rephist.c b/src/or/rephist.c index 5b38fa60c5..0d2b6cf3b4 100644 --- a/src/or/rephist.c +++ b/src/or/rephist.c @@ -469,7 +469,7 @@ advance_obs(bw_array_t *b) /** Add 'n' bytes to the number of bytes in b for second 'when'. */ static INLINE void -add_obs(bw_array_t *b, time_t when, int n) +add_obs(bw_array_t *b, time_t when, uint64_t n) { /* Don't record data in the past. */ if (whencur_obs_time)