diff options
author | Antony Dovgal <tony2001@php.net> | 2008-07-01 07:36:59 +0000 |
---|---|---|
committer | Antony Dovgal <tony2001@php.net> | 2008-07-01 07:36:59 +0000 |
commit | 0729dab2aed4e73ffba2834abaf4dbaa4f951258 (patch) | |
tree | 18535d5045caf94002b4f0508fc1d4a619a0f2f0 /ext/bz2 | |
parent | 22b86e5d806ee7d47375c595c6c1c491ea379e9a (diff) | |
download | php-git-0729dab2aed4e73ffba2834abaf4dbaa4f951258.tar.gz |
on the contrary, string length is int
Diffstat (limited to 'ext/bz2')
-rw-r--r-- | ext/bz2/bz2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c index 4abed85acf..e65d34d93c 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -366,7 +366,7 @@ static PHP_FUNCTION(bzopen) { zval **file; /* The file to open */ char *mode; /* The mode to open the stream with */ - long mode_len; + int mode_len; BZFILE *bz; /* The compressed file stream */ php_stream *stream = NULL; @@ -488,7 +488,7 @@ static PHP_FUNCTION(bzcompress) block_size = 4, /* Block size for compression algorithm */ work_factor = 0, /* Work factor for compression algorithm */ argc; /* Argument count */ - long source_len; /* Length of the source data */ + int source_len; /* Length of the source data */ unsigned int dest_len; /* Length of the destination buffer */ argc = ZEND_NUM_ARGS(); |