diff --git a/MeshLib/Properties-impl.h b/MeshLib/Properties-impl.h index d85e2f18d63fc2912c28fc474a4b6fefd89ff3ae..ba0dcafd9bb81922f7aa58a8d7093172d1f578c5 100644 --- a/MeshLib/Properties-impl.h +++ b/MeshLib/Properties-impl.h @@ -234,8 +234,8 @@ void applyToPropertyVectors(Properties const& properties, Function f) // initializer list is a non-standard explicit type conversion syntax" // with MSVC-15. bool success = f(double{}, property) || f(float{}, property) || - f(int{}, property) || f(long{}, property) || - f(unsigned{}, property) || f(long{}, property) || + f(int{}, property) || f(unsigned{}, property) || + f(long{}, property) || f(static_cast<unsigned long>(0), property) || f(std::size_t{}, property) || f(char{}, property) || f(static_cast<unsigned char>(0), property);