Skip to content

Commit

Permalink
Fixes zpp parameter from int to size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
ralt committed Sep 4, 2014
1 parent 25f5ba9 commit c24c7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/standard/info.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down

0 comments on commit c24c7ff

Please sign in to comment.