From: Jani Taskinen Date: Thu, 23 Jul 2009 17:39:21 +0000 (+0000) Subject: - Allow using huge values for chunklen in this branch too X-Git-Tag: php-5.2.11RC1~116 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ff9403f4c0ff743e0193f2e569349b9c9ec75c8b;p=php - Allow using huge values for chunklen in this branch too --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 0311caa2d5..5d32958088 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -2183,7 +2183,7 @@ PHP_FUNCTION(chunk_split) char *result; char *end = "\r\n"; int endlen = 2; - int chunklen = 76; + long chunklen = 76; int result_len; int argc = ZEND_NUM_ARGS();