aboutsummaryrefslogtreecommitdiff
path: root/src/or/rephist.c
diff options
context:
space:
mode:
authorNick Mathewson <nickm@torproject.org>2006-01-02 00:42:19 +0000
committerNick Mathewson <nickm@torproject.org>2006-01-02 00:42:19 +0000
commit4868d77ab8e8cd1e31e6051822236749c9a8fee4 (patch)
tree85d7eaec6d05e4cd4e8b9015d547d2f5490ed764 /src/or/rephist.c
parent0da20696436399c05814022a1b7ebd4206605a37 (diff)
downloadtor-4868d77ab8e8cd1e31e6051822236749c9a8fee4.tar
tor-4868d77ab8e8cd1e31e6051822236749c9a8fee4.tar.gz
Possible fix to state-load bug reported by weasel.
svn:r5692
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r--src/or/rephist.c2
1 files changed, 1 insertions, 1 deletions
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 (when<b->cur_obs_time)