Skip to content

Commit 25bd11c

Browse files
committed
Fix the fix for #72403 on nl2br
1 parent 1556191 commit 25bd11c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/standard/string.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4267,7 +4267,7 @@ PHP_FUNCTION(nl2br)
42674267
{
42684268
/* in brief this inserts <br /> or <br> before matched regexp \n\r?|\r\n? */
42694269
char *tmp, *str;
4270-
int new_length;
4270+
size_t new_length;
42714271
char *end, *target;
42724272
int repl_cnt = 0;
42734273
int str_len;

0 commit comments

Comments
 (0)