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

r.viewshed: fix CodeQL warnings #2649

Merged
merged 1 commit into from
Jan 6, 2023
Merged

Conversation

nilason
Copy link
Contributor

@nilason nilason commented Nov 14, 2022

Addresses CodeQL warnings on "comparison of narrow type with wide type in loop condition" (dimensionType, which is typedef'd to unsigned short int, is compared to int).

These were previously known CodeQL warnings, but some were triggered again by #2648.

@nilason nilason added enhancement New feature or request C++ Related code is in C++ labels Nov 14, 2022
@nilason nilason added this to the 8.3.0 milestone Nov 14, 2022
Warnings on comparison of narrow type with wide type in loop condition.
@nilason nilason merged commit 118a9d7 into OSGeo:main Jan 6, 2023
@nilason nilason deleted the r-viewshed_fix_codeql branch January 6, 2023 18:55
neteler pushed a commit to nilason/grass that referenced this pull request Nov 7, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
C++ Related code is in C++ enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant