Skip to content

Commit a369430

Browse files
committed
Avoid signed shift
1 parent 3c28a4a commit a369430

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/opcache/Optimizer/zend_inference.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@
3030

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

3535
#define MAY_HAVE_DTOR \
3636
(MAY_BE_OBJECT|MAY_BE_RESOURCE \

0 commit comments

Comments
 (0)