use int for nfds

This commit is contained in:
Alexandre Ratchov 2012-10-06 12:25:25 +02:00
parent ce83ee0567
commit aecccdb36f
1 changed files with 1 additions and 1 deletions

View File

@ -220,7 +220,7 @@ sio_psleep(struct sio_hdl *hdl, int event)
{
struct pollfd pfd[SIO_MAXNFDS];
int revents;
nfds_t nfds;
int nfds;
nfds = sio_nfds(hdl);
if (nfds > SIO_MAXNFDS) {