forked from OSchip/llvm-project
[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:
parent
8093e31e4e
commit
e3fc6b3c34
|
@ -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
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue