From 8866e6da24603369e2e54a209223c4d4869c6b4c Mon Sep 17 00:00:00 2001 From: myxo Date: Tue, 4 Feb 2020 16:08:11 +0300 Subject: [PATCH] Fix warning C4244 on x86 target Warning message: "warning C4244: '=': conversion from 'uint64_t' to 'std::size_t'" --- include/valijson/constraints/concrete_constraints.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/valijson/constraints/concrete_constraints.hpp b/include/valijson/constraints/concrete_constraints.hpp index 8ad29bd..9145cc3 100644 --- a/include/valijson/constraints/concrete_constraints.hpp +++ b/include/valijson/constraints/concrete_constraints.hpp @@ -557,7 +557,7 @@ public: } private: - size_t minItems; + uint64_t minItems; }; /** @@ -611,7 +611,7 @@ public: } private: - size_t minProperties; + uint64_t minProperties; }; /**