From: Eric Christopher Date: Tue, 27 Jan 2015 01:01:39 +0000 (+0000) Subject: Fix unsigned/signed comparison warning. X-Git-Tag: llvmorg-3.7.0-rc1~13993 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=7aebb32dd303aeba3d9b2560e5725eaf8e5a730b;p=platform%2Fupstream%2Fllvm.git Fix unsigned/signed comparison warning. llvm-svn: 227158 --- diff --git a/llvm/unittests/Support/ConvertUTFTest.cpp b/llvm/unittests/Support/ConvertUTFTest.cpp index a6dbe4c..d436fc0 100644 --- a/llvm/unittests/Support/ConvertUTFTest.cpp +++ b/llvm/unittests/Support/ConvertUTFTest.cpp @@ -46,7 +46,7 @@ TEST(ConvertUTFTest, ConvertUTF8ToUTF16String) { bool Success = convertUTF8ToUTF16String(Ref, Result); EXPECT_TRUE(Success); static const UTF16 Expected[] = {0x0CA0, 0x005f, 0x0CA0, 0}; - ASSERT_EQ(3, Result.size()); + ASSERT_EQ(3u, Result.size()); for (int I = 0, E = 3; I != E; ++I) EXPECT_EQ(Expected[I], Result[I]); }