From baef306ffe23dce267daddd5dc80d9f7e9f06417 Mon Sep 17 00:00:00 2001 From: Ilia Alshanetsky Date: Mon, 6 Jun 2005 16:31:00 +0000 Subject: [PATCH] MFH: Better storage size for output length. --- ext/bz2/bz2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c index 6c8b39f4c8..b4b259c609 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -438,7 +438,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)) { -- 2.50.1