mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Fix Windows build
sapi\cli\php_cli_server.c(2637): warning C4133: 'function': incompatible types - from 'zend_result (__cdecl *)(void *,php_socket_t,int)' to 'int (__cdecl *)(void *,php_socket_t,int)' Probably a good idea to make GCC complain about these sort of issues too
This commit is contained in:
@@ -817,7 +817,7 @@ static int php_cli_server_poller_poll(php_cli_server_poller *poller, struct time
|
||||
} /* }}} */
|
||||
|
||||
// TODO Return value is unused, refactor?
|
||||
static zend_result php_cli_server_poller_iter_on_active(php_cli_server_poller *poller, void *opaque, int(*callback)(void *, php_socket_t fd, int events)) /* {{{ */
|
||||
static zend_result php_cli_server_poller_iter_on_active(php_cli_server_poller *poller, void *opaque, zend_result(*callback)(void *, php_socket_t fd, int events)) /* {{{ */
|
||||
{
|
||||
zend_result retval = SUCCESS;
|
||||
#ifdef PHP_WIN32
|
||||
|
||||
Reference in New Issue
Block a user