diff --git a/ext/standard/output.c b/ext/standard/output.c index 451c39941b7..2b14bd7f210 100644 --- a/ext/standard/output.c +++ b/ext/standard/output.c @@ -330,7 +330,7 @@ static int php_b_body_write(const char *str, uint str_length) static int php_ub_body_write_no_header(const char *str, uint str_length) { char *newstr = NULL; - uint new_length=0; + size_t new_length=0; int result; OLS_FETCH(); BLS_FETCH(); diff --git a/main/output.c b/main/output.c index 451c39941b7..2b14bd7f210 100644 --- a/main/output.c +++ b/main/output.c @@ -330,7 +330,7 @@ static int php_b_body_write(const char *str, uint str_length) static int php_ub_body_write_no_header(const char *str, uint str_length) { char *newstr = NULL; - uint new_length=0; + size_t new_length=0; int result; OLS_FETCH(); BLS_FETCH();