Skip to content

Multiple warnings when building with VS 2019 #234

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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