mirror of
https://github.com/php/php-src.git
synced 2024-12-05 07:46:06 +08:00
Fix compiler warning (MFB: Ilia)
This commit is contained in:
parent
2b1b26bf6d
commit
35829ec7ed
@ -634,7 +634,7 @@ static void php_mysql_do_connect(INTERNAL_FUNCTION_PARAMETERS, int persistent)
|
||||
#if !defined(MYSQL_USE_MYSQLND)
|
||||
if ((MYSQL_VERSION_ID / 100) != (mysql_get_client_version() / 100)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING,
|
||||
"Headers and client library minor version mismatch. Headers:%d Library:%d",
|
||||
"Headers and client library minor version mismatch. Headers:%d Library:%ld",
|
||||
MYSQL_VERSION_ID, mysql_get_client_version());
|
||||
}
|
||||
#endif
|
||||
|
@ -64,7 +64,7 @@ void mysqli_common_connect(INTERNAL_FUNCTION_PARAMETERS, zend_bool is_real_conne
|
||||
#if !defined(MYSQL_USE_MYSQLND)
|
||||
if ((MYSQL_VERSION_ID / 100) != (mysql_get_client_version() / 100)) {
|
||||
php_error_docref(NULL TSRMLS_CC, E_WARNING,
|
||||
"Headers and client library minor version mismatch. Headers:%d Library:%d",
|
||||
"Headers and client library minor version mismatch. Headers:%d Library:%ld",
|
||||
MYSQL_VERSION_ID, mysql_get_client_version());
|
||||
}
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user