Commit 07077b3e authored by Juliusz Chroboczek's avatar Juliusz Chroboczek

Insert gratuitious cast.

I'm supersticious.
parent 17362c97
......@@ -116,7 +116,7 @@ update_neighbour(struct neighbour *neigh, int hello, int hello_interval)
if(neigh->hello_interval <= 0)
return rc;
missed_hellos =
(timeval_minus_msec(&now, &neigh->hello_time) -
((int)timeval_minus_msec(&now, &neigh->hello_time) -
neigh->hello_interval * 7) /
(neigh->hello_interval * 10);
if(missed_hellos <= 0)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment