diff options
author | Ilia Alshanetsky <iliaa@php.net> | 2005-06-06 16:30:46 +0000 |
---|---|---|
committer | Ilia Alshanetsky <iliaa@php.net> | 2005-06-06 16:30:46 +0000 |
commit | e3d8886bcd6e4fad70d088f6404def9209725d66 (patch) | |
tree | cedf8fa164605898a4a33e242dbad0ba6e839954 | |
parent | e2e1bf6b0c853a6621718fbccdfa850cf96c59e3 (diff) | |
download | php-git-e3d8886bcd6e4fad70d088f6404def9209725d66.tar.gz |
Better storage size for output length.
# Thanks to Stefan for noticing the problem.
-rw-r--r-- | ext/bz2/bz2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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)) { |