com php-src: Fixes zpp parameter from int to size_t: ext/ standard/info.c
| From: | Tjerk Anne Meesters | Date: | Thu, 04 Sep 2014 17:59:39 +0000 |
| Subject: | com php-src: Fixes zpp parameter from int to size_t: ext/ standard/info.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-81421@lists.php.net to get a copy of this message | ||
Commit: c24c7ff224e8aa86b129700301796c78bc92ee18
Author: Florian MARGAINE <florian@margaine.com> Thu, 4 Sep 2014 19:58:40 +0200
Parents: 25f5ba94aca1e89ee5f0c66513e58826afa3b853
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=c24c7ff224e8aa86b129700301796c78bc92ee18
Log:
Fixes zpp parameter from int to size_t
Changed paths:
M ext/standard/info.c
Diff:
diff --git a/ext/standard/info.c b/ext/standard/info.c
index 49244c6..a1a44cb 100644
--- a/ext/standard/info.c
+++ b/ext/standard/info.c
@@ -1187,7 +1187,7 @@ PHP_FUNCTION(phpinfo)
PHP_FUNCTION(phpversion)
{
char *ext_name = NULL;
- int ext_name_len = 0;
+ size_t ext_name_len = 0;
if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "|s", &ext_name,
&ext_name_len) == FAILURE) {
return;