diff options
author | Anatol Belski <ab@php.net> | 2014-10-27 17:20:24 +0100 |
---|---|---|
committer | Anatol Belski <ab@php.net> | 2014-10-27 17:20:24 +0100 |
commit | fa1e8f70f470ee5b92d99781bded9793ee19cadb (patch) | |
tree | b3edaeb2fb5a7c43cb9d427dff2101de67fd4393 /main/streams/memory.c | |
parent | 201f47e5db6e4195c62c67ac2da1ba09a930d0d2 (diff) | |
download | php-git-fa1e8f70f470ee5b92d99781bded9793ee19cadb.tar.gz |
fix datatype mismatch
Diffstat (limited to 'main/streams/memory.c')
-rw-r--r-- | main/streams/memory.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/main/streams/memory.c b/main/streams/memory.c index 9788954988..6b1b2312a9 100644 --- a/main/streams/memory.c +++ b/main/streams/memory.c @@ -717,10 +717,11 @@ static php_stream * php_stream_url_wrap_rfc2397(php_stream_wrapper *wrapper, con return NULL; } comma = base64_comma->val; - ilen = base64_comma->len; + ilen = (int)base64_comma->len; } else { comma = estrndup(comma, dlen); - ilen = dlen = php_url_decode(comma, dlen); + dlen = php_url_decode(comma, (int)dlen); + ilen = (int)dlen; } if ((stream = php_stream_temp_create_rel(0, ~0u)) != NULL) { |