SqliteModernCpp / sqlite_modern_cpp

The C++14 wrapper around sqlite library
MIT License
896 stars 155 forks source link

Multiple warnings when building with VS 2019 #234

Open az-faro opened 4 months ago

az-faro commented 4 months ago

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