mirror of
https://github.com/openjdk/jdk.git
synced 2026-03-23 14:19:56 +00:00
8211804: Constant AO_UNUSED_MBZ uses left shift of negative value
Use unsigned shift. Reviewed-by: alanb
This commit is contained in:
parent
2f82ed4f1d
commit
51be7db96f
@ -203,7 +203,7 @@ enum {
|
||||
AO_HAVE_FIELD_FLAGS_HI = 1<<10,
|
||||
AO_HAVE_METHOD_FLAGS_HI = 1<<11,
|
||||
AO_HAVE_CODE_FLAGS_HI = 1<<12,
|
||||
AO_UNUSED_MBZ = (-1)<<13, // options bits reserved for future use.
|
||||
AO_UNUSED_MBZ = (int)((~0U)<<13), // options bits reserved for future use.
|
||||
|
||||
#define ARCHIVE_BIT_DO(F) \
|
||||
F(AO_HAVE_SPECIAL_FORMATS) \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user