Skip to content

Multiple warnings when building with VS 2019 #234

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

Open
az-faro opened this issue Jun 18, 2024 · 0 comments
Open

Multiple warnings when building with VS 2019 #234

az-faro opened this issue Jun 18, 2024 · 0 comments

Comments

@az-faro
Copy link

az-faro commented Jun 18, 2024

These warnings are all easily fixed by just casting them explicitly.

sqlite_modern_cpp\type_wrapper.h(132,41): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data
sqlite_modern_cpp\type_wrapper.h(136,36): warning C4244: 'return': conversion from 'double' to 'float', possible loss of data
sqlite_modern_cpp\type_wrapper.h(192,81): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
sqlite_modern_cpp\type_wrapper.h(218,69): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
sqlite_modern_cpp\type_wrapper.h(224,102): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
sqlite_modern_cpp\type_wrapper.h(249,90): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
sqlite_modern_cpp.h(115,1): warning C4267: 'argument': conversion from 'size_t' to 'int', possible loss of data
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

No branches or pull requests

1 participant