diff --git a/AK/Tests/TestBinarySearch.cpp b/AK/Tests/TestBinarySearch.cpp index bf7e2b8dc2..7d75028cfc 100644 --- a/AK/Tests/TestBinarySearch.cpp +++ b/AK/Tests/TestBinarySearch.cpp @@ -27,6 +27,7 @@ #include #include +#include TEST_CASE(vector_ints) { diff --git a/AK/Tests/TestString.cpp b/AK/Tests/TestString.cpp index fab4f1cc57..bd9a8fbc73 100644 --- a/AK/Tests/TestString.cpp +++ b/AK/Tests/TestString.cpp @@ -29,6 +29,7 @@ #include #include #include +#include TEST_CASE(construct_empty) { diff --git a/AK/Tests/TestStringUtils.cpp b/AK/Tests/TestStringUtils.cpp index a284e86b2c..ce790941c7 100644 --- a/AK/Tests/TestStringUtils.cpp +++ b/AK/Tests/TestStringUtils.cpp @@ -105,7 +105,7 @@ TEST_CASE(convert_to_uint) AK::StringUtils::convert_to_uint("-1", ok); EXPECT(!ok); - uint actual = AK::StringUtils::convert_to_uint("0", ok); + unsigned actual = AK::StringUtils::convert_to_uint("0", ok); EXPECT(ok && actual == 0u); actual = AK::StringUtils::convert_to_uint("1", ok);