Skip to content

Commit db63367

Browse files
committed
Compiler warning
1 parent 73d6456 commit db63367

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/spl/spl_dllist.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -733,7 +733,7 @@ SPL_METHOD(SplDoublyLinkedList, setIteratorMode)
733733
return;
734734
}
735735

736-
intern->flags = value & SPL_DLLIST_IT_MASK | intern->flags & SPL_DLLIST_IT_FIX;
736+
intern->flags = (value & SPL_DLLIST_IT_MASK) | (intern->flags & SPL_DLLIST_IT_FIX);
737737

738738
RETURN_LONG(intern->flags);
739739
}

0 commit comments

Comments
 (0)