com php-src: fix datatype mismatch: main/streams/memory.c

From: Date: Mon, 27 Oct 2014 16:20:24 +0000
Subject: com php-src: fix datatype mismatch: main/streams/memory.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-82708@lists.php.net to get a copy of this message
Commit: fa1e8f70f470ee5b92d99781bded9793ee19cadb Author: Anatol Belski <ab@php.net> Mon, 27 Oct 2014 17:20:24 +0100 Parents: 201f47e5db6e4195c62c67ac2da1ba09a930d0d2 Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=fa1e8f70f470ee5b92d99781bded9793ee19cadb Log: fix datatype mismatch Changed paths: M main/streams/memory.c Diff: diff --git a/main/streams/memory..c b/main/streams/memory.c index 9788954..6b1b231 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) {

« previous php.cvs (#82708) next »