1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

Fix unsigned/signed comparison warning.

llvm-svn: 227158
This commit is contained in:
Eric Christopher 2015-01-27 01:01:39 +00:00
parent f62df37b3d
commit a4602a8109

View File

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