Skip to content

Commit 79e96b2

Browse files
committed
Fix-forward a -Wconversion scudo bug.
Related to fd1721d, fix up a signed-unsigned type comparison bug.
1 parent 003bcad commit 79e96b2

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -398,7 +398,7 @@ void MallInfoTest() {
398398
EXPECT_NE(P, nullptr);
399399
MI = mallinfo();
400400
EXPECT_GE(MI.uordblks, Allocated + BypassQuarantineSize);
401-
EXPECT_GT(MI.hblkhd, 0U);
401+
EXPECT_GT(MI.hblkhd, static_cast<FieldType>(0));
402402
FieldType Free = MI.fordblks;
403403
free(P);
404404
MI = mallinfo();

0 commit comments

Comments
 (0)