diff options
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) { |