From 2433d34aa31bda69b3b28888ac035e1dc08663e3 Mon Sep 17 00:00:00 2001 From: root Date: Mon, 17 Jan 2011 12:11:11 +0000 Subject: *** empty log message *** --- ev_poll.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ev_poll.c') diff --git a/ev_poll.c b/ev_poll.c index 81e4b53..e15504b 100644 --- a/ev_poll.c +++ b/ev_poll.c @@ -1,7 +1,7 @@ /* * libev poll fd activity backend * - * Copyright (c) 2007,2008,2009,2010 Marc Alexander Lehmann + * Copyright (c) 2007,2008,2009,2010,2011 Marc Alexander Lehmann * All rights reserved. * * Redistribution and use in source and binary forms, with or without modifica- @@ -92,7 +92,7 @@ poll_poll (EV_P_ ev_tstamp timeout) int res; EV_RELEASE_CB; - res = poll (polls, pollcnt, (int)ceil (timeout * 1000.)); + res = poll (polls, pollcnt, ev_timeout_to_ms (timeout)); EV_ACQUIRE_CB; if (expect_false (res < 0)) -- cgit v1.2.3