mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-25 06:26:06 +00:00
Fix signed/unsigned comparison warning. NFC.
This commit is contained in:
parent
0099c584ba
commit
fca48312a8
@ -141,7 +141,7 @@ TEST(ScudoStringsTest, CapacityIncreaseFails) {
|
||||
|
||||
// Test requires that the default length is at least 6 characters.
|
||||
scudo::uptr MaxSize = Str.capacity();
|
||||
EXPECT_LE(6, MaxSize);
|
||||
EXPECT_LE(6u, MaxSize);
|
||||
|
||||
for (size_t i = 0; i < MaxSize - 5; i++) {
|
||||
Str.append("B");
|
||||
|
Loading…
x
Reference in New Issue
Block a user