diff options
author | Martin Sustrik <sustrik@250bpm.com> | 2012-03-13 15:27:02 +0100 |
---|---|---|
committer | Martin Sustrik <sustrik@250bpm.com> | 2012-03-13 15:27:02 +0100 |
commit | b871611cc36eaaf740a5c8f476cf53fe40299eb3 (patch) | |
tree | e4d8426a2e9d4bdef2ace26f7a5bf097037d810d /src/xs.cpp | |
parent | 28a707371ff9414a1394c52de182ac295eaa00d7 (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/xs.cpp')
-rw-r--r-- | src/xs.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -347,7 +347,7 @@ int xs_getmsgopt (xs_msg_t *msg_, int option_, void *optval_, } } -int xs_poll (xs_pollitem_t *items_, int nitems_, long timeout_) +int xs_poll (xs_pollitem_t *items_, int nitems_, int timeout_) { return xs::upoll (items_, nitems_, timeout_); } |