Skip to content

Silence double to float truncation VS warnings #85

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

Merged
merged 1 commit into from
Aug 22, 2019
Merged

Silence double to float truncation VS warnings #85

merged 1 commit into from
Aug 22, 2019

Conversation

louen
Copy link
Contributor

@louen louen commented Aug 21, 2019

When loading float values, Visual Studio generates a warning :
Q:\Code\csv-reader\csv\csv.h(1061): warning C4305: '=': truncation from 'double' to 'float'.
This is averted by explicitly typing the literal values.

When loading float values, Visual Studio generates a warning :
`Q:\Code\csv-reader\csv\csv.h(1061): warning C4305: '=': truncation from 'double' to 'float'`.
This is averted by explicitly typing the literal values.
@ben-strasser ben-strasser merged commit aa81fa5 into ben-strasser:master Aug 22, 2019
@ben-strasser
Copy link
Owner

thanks, merged

@louen louen deleted the patch-1 branch August 22, 2019 23:23
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.

2 participants