Skip to content

Msvc warning #118

@radkesvat

Description

@radkesvat

Hi,

I am getting this warning on my local MSVC 2019 setup

(only for x86 build, x64 is ok)

include\stc\common.h(253): warning C4310: cast truncates constant value
include\stc\common.h(258): warning C4310: cast truncates constant value
include\stc\common.h(266): warning C4310: cast truncates constant value

I think we should simply disable it in common.h header as far as i know, i dont have any idea of the hash function being used there
maybe use int64 instead of size_t ...?

if you want i can also submit a PR

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