summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStanislav Malyshev <stas@php.net>2016-06-27 12:30:42 -0700
committerStanislav Malyshev <stas@php.net>2016-06-27 12:30:42 -0700
commit25bd11cf271f801efa346195d540f3d8e3bcb0ef (patch)
treec3c2f793106bf08ba3b97b55b5418b547ee38227
parent155619184f5e427797c300d6fe0c01ddcfe5fadc (diff)
downloadphp-git-25bd11cf271f801efa346195d540f3d8e3bcb0ef.tar.gz
Fix the fix for #72403 on nl2br
-rw-r--r--ext/standard/string.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/standard/string.c b/ext/standard/string.c
index acb6a01087..d141b76012 100644
--- a/ext/standard/string.c
+++ b/ext/standard/string.c
@@ -4267,7 +4267,7 @@ PHP_FUNCTION(nl2br)
{
/* in brief this inserts <br /> or <br> before matched regexp \n\r?|\r\n? */
char *tmp, *str;
- int new_length;
+ size_t new_length;
char *end, *target;
int repl_cnt = 0;
int str_len;