summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
authorAnatol Belski <ab@php.net>2014-08-27 17:31:24 +0200
committerAnatol Belski <ab@php.net>2014-08-27 20:49:33 +0200
commit257ed4061ae88802538a6f22724c57fda052e36e (patch)
tree4660289d7e0f1ef183518f52fe885c6c15898715 /ext/mysql/php_mysql.c
parent5882446b8b72010e6240e3fa11001a7546d802a6 (diff)
downloadphp-git-257ed4061ae88802538a6f22724c57fda052e36e.tar.gz
's' works with size_t round 2
Diffstat (limited to 'ext/mysql/php_mysql.c')
-rw-r--r--ext/mysql/php_mysql.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/mysql/php_mysql.c b/ext/mysql/php_mysql.c
index 985f1888be..4b316b4526 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -1555,7 +1555,7 @@ static void php_mysql_do_query_general(php_mysql_conn *mysql, char *query, int q
static void php_mysql_do_query(INTERNAL_FUNCTION_PARAMETERS, int use_store)
{
char *query;
- int query_len;
+ size_t query_len;
zval *mysql_link = NULL;
php_mysql_conn *mysql;
@@ -1596,7 +1596,7 @@ PHP_FUNCTION(mysql_unbuffered_query)
PHP_FUNCTION(mysql_db_query)
{
char *db, *query;
- int db_len, query_len;
+ size_t db_len, query_len;
php_mysql_conn *mysql;
zval *mysql_link = NULL;