mirror of
https://github.com/php/php-src.git
synced 2025-08-16 05:58:45 +02: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:
parent
0fad4d1d96
commit
d4e24e72af
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue