Skip to content

Commit 672c98a

Browse files
committed
Kill a compiler warning
1 parent cbda84f commit 672c98a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Diff for: win32/select.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *e
6666
FD_ZERO(&sock_except);
6767

6868
/* build an array of handles for non-sockets */
69-
for (i = 0; i < max_fd; i++) {
69+
for (i = 0; (uint32_t)i < max_fd; i++) {
7070
if (SAFE_FD_ISSET(i, rfds) || SAFE_FD_ISSET(i, wfds) || SAFE_FD_ISSET(i, efds)) {
7171
handles[n_handles] = (HANDLE)(zend_uintptr_t)_get_osfhandle(i);
7272
if (handles[n_handles] == INVALID_HANDLE_VALUE) {

0 commit comments

Comments
 (0)