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

This fixes the Visual Studio 2019 warning W26451 #175

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

FelixPetriconi
Copy link

Please consider this small fix to avoid a Visual Studio warning.
(Arithmetic overflow Using operator* on a 4 byte value and then casting the result to a 8 byte value.)

(Arithmetic overflow Using operator* on a 4 byte value and then casting the result to a 8 byte value.)
Copy link
Collaborator

@JeffGarland JeffGarland left a comment

Choose a reason for hiding this comment

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

probably a reasonable change -- would the impact be the same if we just changed the order to adjust*sub_sec so we wouldn't need the cast? In any case let's see how the CI likes the change...

@FelixPetriconi
Copy link
Author

As far as I can see the now failing builds already failed without my change. I will check your proposal of swapping the factors.

@jeking3
Copy link
Contributor

jeking3 commented Feb 12, 2022

@FelixPetriconi rebase on develop for a complete CI scan

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.

3 participants