]> granicus.if.org Git - php/commitdiff
Fixed type
authorDmitry Stogov <dmitry@zend.com>
Thu, 28 Aug 2014 06:31:13 +0000 (10:31 +0400)
committerDmitry Stogov <dmitry@zend.com>
Thu, 28 Aug 2014 06:31:13 +0000 (10:31 +0400)
ext/mysql/php_mysql.c

index 4b316b45261726661190d91886339d4b398dc355..424f923d7821fb8537f53638a969beed9214311a 100644 (file)
@@ -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;