Commit a97122fd authored by Poul-Henning Kamp's avatar Poul-Henning Kamp

Explicitly cat to int: we mean it.


git-svn-id: http://www.varnish-cache.org/svn/trunk/varnish-cache@1544 d4fa192b-c00b-0410-8231-f00ffab90ce4
parent 9b7f8ed2
...@@ -433,7 +433,7 @@ ev_schedule_one(struct evbase *evb) ...@@ -433,7 +433,7 @@ ev_schedule_one(struct evbase *evb)
t = ev_now(); t = ev_now();
if (e->__when <= t) if (e->__when <= t)
return (ev_sched_timeout(evb, e, t)); return (ev_sched_timeout(evb, e, t));
tmo = (e->__when - t) * 1e3; tmo = (int)((e->__when - t) * 1e3);
if (tmo == 0) if (tmo == 0)
tmo = 1; tmo = 1;
} else } else
......
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