From: Ilia Alshanetsky Date: Mon, 6 Jun 2005 16:31:08 +0000 (+0000) Subject: MFH: Better storage size for output length. X-Git-Tag: php-4.4.0RC1~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a17e5fe1637c1bb093c981be0a02be5594537a0b;p=php MFH: Better storage size for output length. --- diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c index f32d97822d..6aaaa55c61 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -434,7 +434,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)) {