[scudo] Fix -Wsign-compare warning

This commit is contained in:
Alex Brachet 2023-01-17 17:02:50 +00:00
parent 6a9933519d
commit 6be602f79c

View File

@ -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');
}