com php-src: Compiler warning: ext/spl/spl_dllist.c

From: Date: Sun, 24 Sep 2017 09:19:05 +0000
Subject: com php-src: Compiler warning: ext/spl/spl_dllist.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-99519@lists.php.net to get a copy of this message
Commit: db63367871ce475d52ae8a3c9cc8efe5bc908dec Author: Xinchen Hui <laruence@gmail.com> Sun, 24 Sep 2017 17:19:05 +0800 Parents: 73d6456d7d6be62340b3607805a45cbf420c1cb8 Branches: PHP-7.0 PHP-7.1 PHP-7.2 master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=db63367871ce475d52ae8a3c9cc8efe5bc908dec Log: Compiler warning Changed paths: M ext/spl/spl_dllist.c Diff: diff --git a/ext/spl/spl_dllist.c b/ext/spl/spl_dllist.c index db9fa83..b9ec24c 100644 --- a/ext/spl/spl_dllist.c +++ b/ext/spl/spl_dllist.c @@ -733,7 +733,7 @@ SPL_METHOD(SplDoublyLinkedList, setIteratorMode) return; } - intern->flags = value & SPL_DLLIST_IT_MASK | intern->flags & SPL_DLLIST_IT_FIX; + intern->flags = (value & SPL_DLLIST_IT_MASK) | (intern->flags & SPL_DLLIST_IT_FIX); RETURN_LONG(intern->flags); }

« previous php.cvs (#99519) next »