1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 12:41:49 +01:00

Fix some sign compare warnings breaking the -Werror build

llvm-svn: 277040
This commit is contained in:
David Blaikie 2016-07-28 21:42:12 +00:00
parent 0b22bb3fca
commit 5dc1ea6147

View File

@ -391,9 +391,9 @@ TEST(TargetParserTest, ARMparseArchProfile) {
TEST(TargetParserTest, ARMparseArchVersion) {
for (unsigned i = 0; i < array_lengthof(ARMArch); i++)
if (((std::string)ARMArch[i]).substr(0, 4) == "armv")
EXPECT_EQ((ARMArch[i][4] - 48), ARM::parseArchVersion(ARMArch[i]));
EXPECT_EQ((ARMArch[i][4] - 48u), ARM::parseArchVersion(ARMArch[i]));
else
EXPECT_EQ(5, ARM::parseArchVersion(ARMArch[i]));
EXPECT_EQ(5u, ARM::parseArchVersion(ARMArch[i]));
}
TEST(TargetParserTest, AArch64DefaultFPU) {