Fix signed/unsigned comparison warning. NFC.

This commit is contained in:
Simon Pilgrim 2024-03-27 16:35:46 +00:00
parent 0099c584ba
commit fca48312a8

View File

@ -141,7 +141,7 @@ TEST(ScudoStringsTest, CapacityIncreaseFails) {
// Test requires that the default length is at least 6 characters. // Test requires that the default length is at least 6 characters.
scudo::uptr MaxSize = Str.capacity(); scudo::uptr MaxSize = Str.capacity();
EXPECT_LE(6, MaxSize); EXPECT_LE(6u, MaxSize);
for (size_t i = 0; i < MaxSize - 5; i++) { for (size_t i = 0; i < MaxSize - 5; i++) {
Str.append("B"); Str.append("B");