Skip to content

Conversation

javadev
Copy link
Owner

@javadev javadev commented Jul 12, 2022

No description provided.

// to the lower level.
if (diffs[i] >= kSum) {
diffs[i] -= kSum;
diffs[i - 1] += kSum;

Check failure

Code scanning / CodeQL

Implicit narrowing conversion in compound assignment

Implicit cast of source type long to narrower destination type int.
@sonarqubecloud
Copy link

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

85.7% 85.7% Coverage
0.0% 0.0% Duplication

@javadev javadev merged commit 69e913f into javadev:main Jul 12, 2022
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.

1 participant