[lldb][NFC] Fix unsigned/signed comparison warning in SymbolFileDWARFTest.cpp

offset_t is unsigned, so if the RHS is signed we get a warning from clang:
    warning: comparison of integers of different signs: 'const unsigned long long' and 'const int'
This commit is contained in:
Raphael Isemann 2020-03-12 15:30:10 +01:00
parent 8093e31e4e
commit e3fc6b3c34
1 changed files with 1 additions and 1 deletions

View File

@ -344,5 +344,5 @@ TEST_F(SymbolFileDWARFTests, ParseArangesNonzeroSegmentSize) {
EXPECT_TRUE(bool(error));
EXPECT_EQ("segmented arange entries are not supported",
llvm::toString(std::move(error)));
EXPECT_EQ(off, 12); // Parser should read no further than the segment size
EXPECT_EQ(off, 12U); // Parser should read no further than the segment size
}