Skip to content

Commit fca4831

Browse files
committed
Fix signed/unsigned comparison warning. NFC.
1 parent 0099c58 commit fca4831

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler-rt/lib/scudo/standalone/tests/strings_test.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -141,7 +141,7 @@ TEST(ScudoStringsTest, CapacityIncreaseFails) {
141141

142142
// Test requires that the default length is at least 6 characters.
143143
scudo::uptr MaxSize = Str.capacity();
144-
EXPECT_LE(6, MaxSize);
144+
EXPECT_LE(6u, MaxSize);
145145

146146
for (size_t i = 0; i < MaxSize - 5; i++) {
147147
Str.append("B");

0 commit comments

Comments
 (0)