Browse Source

Possible fix to state-load bug reported by weasel.

svn:r5692
Nick Mathewson 18 years ago
parent
commit
4868d77ab8
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/or/rephist.c

+ 1 - 1
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)