Skip to content

Commit

Permalink
Kill a compiler warning
Browse files Browse the repository at this point in the history
  • Loading branch information
KalleZ committed Aug 23, 2017
1 parent cbda84f commit 672c98a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion win32/select.c
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ PHPAPI int php_select(php_socket_t max_fd, fd_set *rfds, fd_set *wfds, fd_set *e
FD_ZERO(&sock_except);

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

0 comments on commit 672c98a

Please sign in to comment.