summaryrefslogtreecommitdiffstats
path: root/compiler-rt/lib
diff options
context:
space:
mode:
Diffstat (limited to 'compiler-rt/lib')
-rw-r--r--compiler-rt/lib/asan/tests/asan_str_test.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler-rt/lib/asan/tests/asan_str_test.cc b/compiler-rt/lib/asan/tests/asan_str_test.cc
index 34be0b50cf8..17bef55d3d0 100644
--- a/compiler-rt/lib/asan/tests/asan_str_test.cc
+++ b/compiler-rt/lib/asan/tests/asan_str_test.cc
@@ -62,7 +62,7 @@ TEST(AddressSanitizer, StrLenOOBTest) {
}
TEST(AddressSanitizer, WcsLenTest) {
- EXPECT_EQ(0, wcslen(Ident(L"")));
+ EXPECT_EQ(0U, wcslen(Ident(L"")));
size_t hello_len = 13;
size_t hello_size = (hello_len + 1) * sizeof(wchar_t);
EXPECT_EQ(hello_len, wcslen(Ident(L"Hello, World!")));
OpenPOWER on IntegriCloud