Skip to content

Commit b8487b6

Browse files
committed
Merge branch 'PHP-5.5' into PHP-5.6
* PHP-5.5: Fix the fix for #72403 on nl2br 5.5.38 now Conflicts: configure.in main/php_version.h
2 parents 1314db7 + 25bd11c commit b8487b6

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
@@ -4265,7 +4265,7 @@ PHP_FUNCTION(nl2br)
42654265
{
42664266
/* in brief this inserts <br /> or <br> before matched regexp \n\r?|\r\n? */
42674267
char *tmp, *str;
4268-
int new_length;
4268+
size_t new_length;
42694269
char *end, *target;
42704270
int repl_cnt = 0;
42714271
int str_len;

0 commit comments

Comments
 (0)