From b2656e8e78d9e333ad1a7b6a982419629a98a82f Mon Sep 17 00:00:00 2001 From: phk Date: Sun, 24 Jun 2007 10:17:03 +0000 Subject: [PATCH] Explicitly cat to int: we mean it. git-svn-id: svn+ssh://projects.linpro.no/svn/varnish/trunk@1544 d4fa192b-c00b-0410-8231-f00ffab90ce4 --- varnish-cache/bin/varnishd/mgt_event.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/varnish-cache/bin/varnishd/mgt_event.c b/varnish-cache/bin/varnishd/mgt_event.c index 4ef3b3b1..12a65fd9 100644 --- a/varnish-cache/bin/varnishd/mgt_event.c +++ b/varnish-cache/bin/varnishd/mgt_event.c @@ -433,7 +433,7 @@ ev_schedule_one(struct evbase *evb) t = ev_now(); if (e->__when <= t) return (ev_sched_timeout(evb, e, t)); - tmo = (e->__when - t) * 1e3; + tmo = (int)((e->__when - t) * 1e3); if (tmo == 0) tmo = 1; } else -- 2.39.5