Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add explicit enum casts to prevent warnings #18237

Merged
merged 1 commit into from Nov 11, 2023

Conversation

dylanjtuttle
Copy link
Contributor

Fix AIX warnings concerning comparisons between two enum values of different types by explicitly casting one value into the type of the other.

This PR contributes to (but does not close) #14859

@dylanjtuttle
Copy link
Contributor Author

@hzongaro Could you take a look at this when you get a chance?

@hzongaro hzongaro self-assigned this Nov 10, 2023
Fix AIX warnings concerning comparisons between two enum values
of different types by explicitly casting one value into
the type of the other

Signed-off-by: Dylan Tuttle <jdylantuttle@gmail.com>
Copy link
Member

@hzongaro hzongaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. Thanks!

@hzongaro
Copy link
Member

Jenkins test sanity plinux,aix jdk17,jdk21

@hzongaro
Copy link
Member

Test failures are in CRIU tests unrelated to this change. Merging.

@hzongaro hzongaro merged commit f1d8ad7 into eclipse-openj9:master Nov 11, 2023
8 of 11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants