X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=ext%2FIO%2Fpoll.c;h=a09c2472a7625da8a00295bd33868340f4c2b853;hb=d96fb2860dc5b4f6aa03586317224ac3cf3a1114;hp=024c52ff9f4a6fc4a5e866480cdf3fce5be63974;hpb=ee8c7f5465f003860e2347a2946abacac39bd9b9;p=p5sagit%2Fp5-mst-13.2.git diff --git a/ext/IO/poll.c b/ext/IO/poll.c index 024c52f..a09c247 100644 --- a/ext/IO/poll.c +++ b/ext/IO/poll.c @@ -58,7 +58,7 @@ again: FD_ZERO(&wfd); FD_ZERO(&efd); - for(i = 0 ; i < nfds ; i++) { + for(i = 0 ; i < (int)nfds ; i++) { int events = fds[i].events; int fd = fds[i].fd; @@ -105,7 +105,7 @@ again: count = 0; - for(i = 0 ; i < nfds ; i++) { + for(i = 0 ; i < (int)nfds ; i++) { int revents = (fds[i].events & POLL_EVENTS_MASK); int fd = fds[i].fd;