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 /include | |
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 'include')
-rw-r--r-- | include/xs.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/xs.h b/include/xs.h index f61a41a..5c781ea 100644 --- a/include/xs.h +++ b/include/xs.h @@ -239,7 +239,7 @@ typedef struct short revents; } xs_pollitem_t; -XS_EXPORT int xs_poll (xs_pollitem_t *items, int nitems, long timeout); +XS_EXPORT int xs_poll (xs_pollitem_t *items, int nitems, int timeout); /******************************************************************************/ /* The following utility functions are exported for use from language */ |