[Lldb-commits] [lldb] r353196 - [unittests] Fix warning
Jonas Devlieghere via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 5 10:46:38 PST 2019
Author: jdevlieghere
Date: Tue Feb 5 10:46:37 2019
New Revision: 353196
URL: http://llvm.org/viewvc/llvm-project?rev=353196&view=rev
Log:
[unittests] Fix warning
warning: comparison of integers of different signs: 'const int' and
'const unsigned long' [-Wsign-compare]
Modified:
lldb/trunk/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp
Modified: lldb/trunk/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp
URL: http://llvm.org/viewvc/llvm-project/lldb/trunk/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp?rev=353196&r1=353195&r2=353196&view=diff
==============================================================================
--- lldb/trunk/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp (original)
+++ lldb/trunk/unittests/SymbolFile/NativePDB/PdbFPOProgramToDWARFExpressionTests.cpp Tue Feb 5 10:46:37 2019
@@ -115,7 +115,7 @@ CheckInvalidProgramTranslation(llvm::Str
StreamBuffer<32> stream(Stream::eBinary, address_size, byte_order);
EXPECT_FALSE(TranslateFPOProgramToDWARFExpression(
fpo_program, target_register_name, arch_type, stream));
- EXPECT_EQ(0, stream.GetSize());
+ EXPECT_EQ((size_t)0, stream.GetSize());
}
TEST(PDBFPOProgramToDWARFExpressionTests, InvalidAssignmentSingle) {
More information about the lldb-commits
mailing list