mirror of
https://github.com/php/php-src.git
synced 2025-08-15 21:48:51 +02:00
Fix printf style issues in Windows specific code (GH-17452)
A couple of calls pass strings as formats (`-Wformat-security`), and some others mix up types (`-Wformat`).
This commit is contained in:
parent
26bf239e6d
commit
1675d32261
10 changed files with 17 additions and 17 deletions
|
@ -610,7 +610,7 @@ PHP_FUNCTION(sapi_windows_cp_set)
|
|||
cp = php_win32_cp_set_by_id((DWORD)id);
|
||||
}
|
||||
if (!cp) {
|
||||
php_error_docref(NULL, E_WARNING, "Failed to switch to codepage %d", id);
|
||||
php_error_docref(NULL, E_WARNING, "Failed to switch to codepage " ZEND_LONG_FMT, id);
|
||||
RETURN_FALSE;
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue