diff options
Diffstat (limited to 'llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp')
-rw-r--r-- | llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp index 0de69844913..22a3fd84ce5 100644 --- a/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp +++ b/llvm/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp @@ -245,7 +245,7 @@ TEST_P(DebugLineParameterisedFixture, GetOrParseLineTableValidTable) { EXPECT_TRUE(IssueMessage.empty()); const DWARFDebugLine::LineTable *Expected = *ExpectedLineTable; checkDefaultPrologue(Version, Format, Expected->Prologue, 16); - EXPECT_EQ(Expected->Sequences.size(), 1); + EXPECT_EQ(Expected->Sequences.size(), 1u); uint64_t SecondOffset = Expected->Prologue.sizeofTotalLength() + Expected->Prologue.TotalLength; @@ -459,9 +459,9 @@ TEST_F(DebugLineBasicFixture, CallbackUsedForUnterminatedSequence) { EXPECT_EQ(IssueMessage, "last sequence in debug line table is not terminated!"); ASSERT_TRUE(ExpectedLineTable.operator bool()); - EXPECT_EQ((*ExpectedLineTable)->Rows.size(), 6); + EXPECT_EQ((*ExpectedLineTable)->Rows.size(), 6u); // The unterminated sequence is not added to the sequence list. - EXPECT_EQ((*ExpectedLineTable)->Sequences.size(), 1); + EXPECT_EQ((*ExpectedLineTable)->Sequences.size(), 1u); } TEST_F(DebugLineBasicFixture, ParserParsesCorrectly) { |