mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 00:56:05 +00:00
[scudo] Fix -Wsign-compare warning
This commit is contained in:
parent
6a9933519d
commit
6be602f79c
@ -705,7 +705,7 @@ SCUDO_TYPED_TEST(ScudoCombinedTest, ReallocateInPlaceStress) {
|
||||
SCUDO_TYPED_TEST(ScudoCombinedTest, RingBufferSize) {
|
||||
auto *Allocator = this->Allocator.get();
|
||||
auto Size = Allocator->getRingBufferSize();
|
||||
ASSERT_GT(Size, 0);
|
||||
ASSERT_GT(Size, 0u);
|
||||
EXPECT_EQ(Allocator->getRingBufferAddress()[Size - 1], '\0');
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user