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); }