summaryrefslogtreecommitdiff
path: root/ext/mysql
diff options
context:
space:
mode:
authorIlia Alshanetsky <iliaa@php.net>2008-10-27 23:27:21 +0000
committerIlia Alshanetsky <iliaa@php.net>2008-10-27 23:27:21 +0000
commita509ac3510ba498b989cc0c2331c7abb009fbbc6 (patch)
tree5bdf2f551405d6a0b8dc7e69f876ed16a18faddd /ext/mysql
parentd13d710cee27d250632cedd04deaf5a2a6b9f7dc (diff)
downloadphp-git-a509ac3510ba498b989cc0c2331c7abb009fbbc6.tar.gz
Fixed compiler warning
Diffstat (limited to 'ext/mysql')
-rw-r--r--ext/mysql/php_mysql.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 187df1f754..faea8d118f 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -639,7 +639,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