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

Fix eight trivial "implicit conversion 'double' to 'int'" warnings. NFC. #531

Merged
merged 1 commit into from Dec 17, 2019

Conversation

ruevs
Copy link
Member

@ruevs ruevs commented Dec 17, 2019

Found when compiling with clang 9.

@whitequark whitequark merged commit 16c5fa6 into solvespace:master Dec 17, 2019
@whitequark
Copy link
Contributor

Thanks! We keep fixing those. I think before clang 9 (evidently) only MSVC was reporting these consistently, but that requires going through Appveyor logs.

@ruevs
Copy link
Member Author

ruevs commented Dec 17, 2019

I'll submit another PR when I get to the "other" machine that I have VS 2019 installed on. There are a bunch about "float to double".

The whole clang exercise was an attempt to run the clang static analyzer on Solvespace, but I have not yet succeeded to do it.

@ruevs ruevs deleted the WarnFix branch December 17, 2019 21:20
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