diff options
author | Nick Mathewson <nickm@torproject.org> | 2006-01-02 00:42:19 +0000 |
---|---|---|
committer | Nick Mathewson <nickm@torproject.org> | 2006-01-02 00:42:19 +0000 |
commit | 4868d77ab8e8cd1e31e6051822236749c9a8fee4 (patch) | |
tree | 85d7eaec6d05e4cd4e8b9015d547d2f5490ed764 /src/or/rephist.c | |
parent | 0da20696436399c05814022a1b7ebd4206605a37 (diff) | |
download | tor-4868d77ab8e8cd1e31e6051822236749c9a8fee4.tar.gz tor-4868d77ab8e8cd1e31e6051822236749c9a8fee4.zip |
Possible fix to state-load bug reported by weasel.
svn:r5692
Diffstat (limited to 'src/or/rephist.c')
-rw-r--r-- | src/or/rephist.c | 2 |
1 files changed, 1 insertions, 1 deletions
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 (when<b->cur_obs_time) |