mirror of https://github.com/ericonr/sndio.git
use int for nfds
This commit is contained in:
parent
ce83ee0567
commit
aecccdb36f
|
@ -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) {
|
||||
|
|
Loading…
Reference in New Issue