summaryrefslogtreecommitdiff
path: root/ext/mysql/php_mysql.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/mysql/php_mysql.c')
-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 4b316b4526..424f923d78 100644
--- a/ext/mysql/php_mysql.c
+++ b/ext/mysql/php_mysql.c
@@ -1372,7 +1372,7 @@ PHP_FUNCTION(mysql_client_encoding)
PHP_FUNCTION(mysql_set_charset)
{
char *csname;
- int csname_len;
+ size_t csname_len;
php_mysql_conn *mysql;
zval *mysql_link = NULL;