From b871611cc36eaaf740a5c8f476cf53fe40299eb3 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Tue, 13 Mar 2012 15:27:02 +0100 Subject: '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 --- include/xs.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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 */ -- cgit v1.2.3