From b605417ad6ac093d42219fa90720d7817821aac4 Mon Sep 17 00:00:00 2001 From: Roman Lebedev Date: Thu, 10 May 2018 14:16:37 +0000 Subject: [PATCH] [DWARF] DWARFDebugLineTest: fix a few more signed/unsigned mismatch warnings llvm-svn: 331982 --- unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp b/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp index 0de69844913..22a3fd84ce5 100644 --- a/unittests/DebugInfo/DWARF/DWARFDebugLineTest.cpp +++ b/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) {