sqlite_modern_cpp icon indicating copy to clipboard operation
sqlite_modern_cpp copied to clipboard

Multiple warnings when building with VS 2019

Open az-faro opened this issue 1 year ago • 0 comments

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

az-faro avatar Jun 18 '24 16:06 az-faro