From: Ilia Alshanetsky Date: Mon, 6 Jun 2005 16:30:46 +0000 (+0000) Subject: Better storage size for output length. X-Git-Tag: php-5.0.1b1~70 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=e3d8886bcd6e4fad70d088f6404def9209725d66;p=php Better storage size for output length. # Thanks to Stefan for noticing the problem. --- diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c index db2cc52b31..fe780fc252 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -441,7 +441,7 @@ PHP_FUNCTION(bzdecompress) char *source, *dest; int source_len, error; long small = 0; - unsigned int size = 0; + unsigned long long size = 0; bz_stream bzs; if (FAILURE == zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "s|l", &source, &source_len, &small)) {