Skip to content
Snippets Groups Projects
Commit 296381ed authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge commit 'sebastian/ewma2' into ewma

Conflicts:
	src/or/relay.c
parents 1292a9dd 27b7746c
No related branches found
No related tags found
No related merge requests found
......@@ -1828,7 +1828,7 @@ static unsigned
cell_ewma_tick_from_timeval(const struct timeval *now,
double *remainder_out)
{
unsigned res = now->tv_sec / EWMA_TICK_LEN;
unsigned res = (unsigned) (now->tv_sec / EWMA_TICK_LEN);
/* rem */
double rem = (now->tv_sec % EWMA_TICK_LEN) +
((double)(now->tv_usec)) / 1.0e6;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment