summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ev.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ev.c b/ev.c
index 4e8deda..993f8a5 100644
--- a/ev.c
+++ b/ev.c
@@ -453,7 +453,7 @@ ev_sleep (ev_tstamp delay)
nanosleep (&ts, 0);
#elif defined(_WIN32)
- Sleep (delay * 1e3);
+ Sleep ((unsigned long)(delay * 1e3));
#else
struct timeval tv;