From aacdec04b797cc504b23b45015a088c105216aba Mon Sep 17 00:00:00 2001 From: Bram van Limpt Date: Sat, 25 Jan 2025 18:12:02 +0100 Subject: [PATCH] fixed builder error for windows on V2.2.0 --- test/JSON-Schema-Test-Suite/json-schema-test.cpp | 2 +- test/string-format-check-test.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/JSON-Schema-Test-Suite/json-schema-test.cpp b/test/JSON-Schema-Test-Suite/json-schema-test.cpp index deee4c8..b7b366f 100644 --- a/test/JSON-Schema-Test-Suite/json-schema-test.cpp +++ b/test/JSON-Schema-Test-Suite/json-schema-test.cpp @@ -150,5 +150,5 @@ int main(void) std::cout << "Total RESULT: " << (total - total_failed) << " of " << total << " have succeeded - " << total_failed << " failed\n"; - return total_failed; + return static_cast(total_failed); } diff --git a/test/string-format-check-test.cpp b/test/string-format-check-test.cpp index 4a207b1..12861e9 100644 --- a/test/string-format-check-test.cpp +++ b/test/string-format-check-test.cpp @@ -98,5 +98,5 @@ int main() numberOfErrors += testStringFormat("uri", uriChecks); - return numberOfErrors; + return static_cast(numberOfErrors); }