]> git.ipfire.org Git - thirdparty/tor.git/commitdiff
Possible fix to state-load bug reported by weasel.
authorNick Mathewson <nickm@torproject.org>
Mon, 2 Jan 2006 00:42:19 +0000 (00:42 +0000)
committerNick Mathewson <nickm@torproject.org>
Mon, 2 Jan 2006 00:42:19 +0000 (00:42 +0000)
svn:r5692

src/or/rephist.c

index 5b38fa60c57f8f6010f2b8a74d24ed12e499b8ea..0d2b6cf3b42484a7f9390507d3139d849a445468 100644 (file)
@@ -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)