summaryrefslogtreecommitdiff
path: root/src/upoll.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/upoll.cpp')
-rw-r--r--src/upoll.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upoll.cpp b/src/upoll.cpp
index 3295bba..9dd13ea 100644
--- a/src/upoll.cpp
+++ b/src/upoll.cpp
@@ -125,7 +125,7 @@ int xs::upoll (xs_pollitem_t *items_, int nitems_, int timeout_)
else if (timeout_ < 0)
timeout = -1;
else
- timeout = end - now;
+ timeout = (int) (end - now);
// Wait for events.
while (true) {