com php-src: Kill a compiler warning: win32/select.c

From: Date: Wed, 23 Aug 2017 22:44:29 +0000
Subject: com php-src: Kill a compiler warning: win32/select.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-99140@lists.php.net to get a copy of this message
Commit: 672c98a4561c2033716610fef76d75cb0616051f Author: Kalle Sommer Nielsen <kalle@php.net> Thu, 24 Aug 2017 00:44:29 +0200 Parents: cbda84f87c5d8409e8227d490a8219333e573c16 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=672c98a4561c2033716610fef76d75cb0616051f Log: Kill a compiler warning Changed paths: M win32/select.c Diff: diff --git a/win32/select.c b/win32/select.c index bdc53e8..33e5fb2 100644 --- a/win32/select.c +++ b/win32/select.c @@ -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) {

« previous php.cvs (#99140) next »