From 4868d77ab8e8cd1e31e6051822236749c9a8fee4 Mon Sep 17 00:00:00 2001 From: Nick Mathewson Date: Mon, 2 Jan 2006 00:42:19 +0000 Subject: Possible fix to state-load bug reported by weasel. svn:r5692 --- src/or/rephist.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/or/rephist.c') diff --git a/src/or/rephist.c b/src/or/rephist.c index 5b38fa60c..0d2b6cf3b 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) -- cgit v1.2.3