summaryrefslogtreecommitdiff
path: root/src/upoll.hpp
diff options
context:
space:
mode:
authorMartin Sustrik <sustrik@250bpm.com>2012-03-13 15:27:02 +0100
committerMartin Sustrik <sustrik@250bpm.com>2012-03-13 15:27:02 +0100
commitb871611cc36eaaf740a5c8f476cf53fe40299eb3 (patch)
treee4d8426a2e9d4bdef2ace26f7a5bf097037d810d /src/upoll.hpp
parent28a707371ff9414a1394c52de182ac295eaa00d7 (diff)
'timeout' parameter in xs_poll changed to int
Originally, the parameter was of type long which is incompatible with POSIX poll() function. Signed-off-by: Martin Sustrik <sustrik@250bpm.com>
Diffstat (limited to 'src/upoll.hpp')
-rw-r--r--src/upoll.hpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/upoll.hpp b/src/upoll.hpp
index 9e6b5be..d63df5e 100644
--- a/src/upoll.hpp
+++ b/src/upoll.hpp
@@ -26,7 +26,7 @@
namespace xs
{
// Underlying function for xs_poll.
- int upoll (xs_pollitem_t *items_, int nitems_, long timeout_);
+ int upoll (xs_pollitem_t *items_, int nitems_, int timeout_);
}
#endif