mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Address more Clang warnings (GH-17506)
We prefer clean solutions (such as declaring the proper type in the
first place, or introducing a portable format specifier) where easily
possible, but resort to casts otherwise.
We also port f1480ab14b
.
This commit is contained in:
parent
75bd1a9dc0
commit
aa76127d01
11 changed files with 20 additions and 20 deletions
|
@ -2241,7 +2241,7 @@ mysqlnd_poll(MYSQLND **r_array, MYSQLND **e_array, MYSQLND ***dont_poll, long se
|
|||
retval = php_select(max_fd + 1, &rfds, &wfds, &efds, tv_p);
|
||||
|
||||
if (retval == -1) {
|
||||
php_error_docref(NULL, E_WARNING, "Unable to select [%d]: %s (max_fd=%d)",
|
||||
php_error_docref(NULL, E_WARNING, "Unable to select [%d]: %s (max_fd=" PHP_SOCKET_FMT ")",
|
||||
errno, strerror(errno), max_fd);
|
||||
DBG_RETURN(FAIL);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue