[compiler-rt] r190137 - Fix compiler warning introduced in r190022

Alexey Samsonov samsonov at google.com
Fri Sep 6 04:08:12 PDT 2013


Author: samsonov
Date: Fri Sep  6 06:08:12 2013
New Revision: 190137

URL: http://llvm.org/viewvc/llvm-project?rev=190137&view=rev
Log:
Fix compiler warning introduced in r190022

Modified:
    compiler-rt/trunk/lib/asan/tests/asan_str_test.cc

Modified: compiler-rt/trunk/lib/asan/tests/asan_str_test.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/tests/asan_str_test.cc?rev=190137&r1=190136&r2=190137&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/tests/asan_str_test.cc (original)
+++ compiler-rt/trunk/lib/asan/tests/asan_str_test.cc Fri Sep  6 06:08:12 2013
@@ -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!")));





More information about the llvm-commits mailing list