diff options
author | Anatol Belski <ab@php.net> | 2014-08-27 15:31:48 +0200 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-08-27 20:49:31 +0200 |
commit | 3234480827b27ff5d3469a732167afd289632a96 (patch) | |
tree | 485ed0c4f5d35107a65ab193f3bc7c27806fbfca /ext/bz2 | |
parent | ee552b628c2d9f9455ac85d7791b4b4e8e4ddeb2 (diff) | |
download | php-git-3234480827b27ff5d3469a732167afd289632a96.tar.gz |
first show to make 's' work with size_t
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 b2e8f40760..4bfebce706 100644 --- a/ext/bz2/bz2.c +++ b/ext/bz2/bz2.c @@ -377,7 +377,7 @@ static PHP_FUNCTION(bzopen) { zval *file; /* The file to open */ char *mode; /* The mode to open the stream with */ - int mode_len; + size_t mode_len; BZFILE *bz; /* The compressed file stream */ php_stream *stream = NULL; @@ -497,7 +497,7 @@ static PHP_FUNCTION(bzcompress) block_size = 4, /* Block size for compression algorithm */ work_factor = 0, /* Work factor for compression algorithm */ argc; /* Argument count */ - int source_len; /* Length of the source data */ + size_t source_len; /* Length of the source data */ unsigned int dest_len; /* Length of the destination buffer */ argc = ZEND_NUM_ARGS(); |