diff options
author | Xinchen Hui <laruence@gmail.com> | 2017-09-24 17:19:05 +0800 |
---|---|---|
committer | Xinchen Hui <laruence@gmail.com> | 2017-09-24 17:19:05 +0800 |
commit | db63367871ce475d52ae8a3c9cc8efe5bc908dec (patch) | |
tree | 8a3edc9a78d0f84f5c35d7029d41bed01b9abe1f /ext | |
parent | 73d6456d7d6be62340b3607805a45cbf420c1cb8 (diff) | |
download | php-git-db63367871ce475d52ae8a3c9cc8efe5bc908dec.tar.gz |
Compiler warning
Diffstat (limited to 'ext')
-rw-r--r-- | ext/spl/spl_dllist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/spl/spl_dllist.c b/ext/spl/spl_dllist.c index db9fa838c8..b9ec24cadb 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); } |