Skip to content

Commit

Permalink
MFH: Better storage size for output length.
Browse files Browse the repository at this point in the history
  • Loading branch information
Ilia Alshanetsky committed Jun 6, 2005
1 parent 44518f0 commit a17e5fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/bz2/bz2.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)) {
Expand Down

0 comments on commit a17e5fe

Please sign in to comment.