mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02:00
Kill a compiler warning
This commit is contained in:
parent
cbda84f87c
commit
672c98a456
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
FD_ZERO(&sock_except);
|
||||||
|
|
||||||
/* build an array of handles for non-sockets */
|
/* 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)) {
|
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);
|
handles[n_handles] = (HANDLE)(zend_uintptr_t)_get_osfhandle(i);
|
||||||
if (handles[n_handles] == INVALID_HANDLE_VALUE) {
|
if (handles[n_handles] == INVALID_HANDLE_VALUE) {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue