Skip to content

Commit

Permalink
Avoid signed shift
Browse files Browse the repository at this point in the history
  • Loading branch information
nikic committed Sep 24, 2019
1 parent 3c28a4a commit a369430
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ext/opcache/Optimizer/zend_inference.h
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@

//TODO: remome MAY_BE_RC1, MAY_BE_RCN???
#define MAY_BE_RC1 (1<<30) /* may be non-reference with refcount == 1 */
#define MAY_BE_RCN (1<<31) /* may be non-reference with refcount > 1 */
#define MAY_BE_RCN (1u<<31) /* may be non-reference with refcount > 1 */

#define MAY_HAVE_DTOR \
(MAY_BE_OBJECT|MAY_BE_RESOURCE \
Expand Down

0 comments on commit a369430

Please sign in to comment.