mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 20:51:52 +01:00
Fix some sign compare warnings breaking the -Werror build
llvm-svn: 277040
This commit is contained in:
parent
0b22bb3fca
commit
5dc1ea6147
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user