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

Don't merge: intentionally add a bad calculation to make sure CodeQL flags it #4285

Closed

Conversation

melissalinkert
Copy link
Member

Don't merge this at all - this can be closed once we're sure the GitHub Actions build fails.

@@ -318,7 +318,7 @@
m.sizeZ = getImageCount();
}

if (isRGB()) m.sizeC *= 3;
if (isRGB()) m.sizeC *= 3.0;

Check failure

Code scanning / CodeQL

Implicit narrowing conversion in compound assignment High

Implicit cast of source type double to narrower destination type
int
.
Copy link
Member Author

Choose a reason for hiding this comment

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

🎉

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant