Skip to content

Commit

Permalink
Fix-forward a -Wconversion scudo bug.
Browse files Browse the repository at this point in the history
Related to fd1721d, fix up a
signed-unsigned type comparison bug.
  • Loading branch information
hctim committed Sep 15, 2023
1 parent 003bcad commit 79e96b2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler-rt/lib/scudo/standalone/tests/wrappers_c_test.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -398,7 +398,7 @@ void MallInfoTest() {
EXPECT_NE(P, nullptr);
MI = mallinfo();
EXPECT_GE(MI.uordblks, Allocated + BypassQuarantineSize);
EXPECT_GT(MI.hblkhd, 0U);
EXPECT_GT(MI.hblkhd, static_cast<FieldType>(0));
FieldType Free = MI.fordblks;
free(P);
MI = mallinfo();
Expand Down

0 comments on commit 79e96b2

Please sign in to comment.