Skip to content

Multiple warnings when building with VS 2019 #234

Open
@az-faro

Description

@az-faro

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions