summaryrefslogtreecommitdiff
path: root/ext/bz2/bz2.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/bz2/bz2.c')
-rw-r--r--ext/bz2/bz2.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/bz2/bz2.c b/ext/bz2/bz2.c
index 4bfebce706..e04a75c1b5 100644
--- a/ext/bz2/bz2.c
+++ b/ext/bz2/bz2.c
@@ -543,7 +543,8 @@ static PHP_FUNCTION(bzcompress)
static PHP_FUNCTION(bzdecompress)
{
char *source, *dest;
- int source_len, error;
+ size_t source_len;
+ int error;
zend_long small = 0;
#if defined(PHP_WIN32)
unsigned __int64 size = 0;