Skip to content

Commit

Permalink
Reapply: Fix warning: comparison of integers of different signs
Browse files Browse the repository at this point in the history
  • Loading branch information
OCHyams committed Nov 8, 2022
1 parent 7f26693 commit aa37342
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion llvm/unittests/IR/DebugInfoTest.cpp
Expand Up @@ -506,7 +506,7 @@ TEST(AssignmentTrackingTest, Utils) {
// 4. Check that deleting works and applies only to the target function.
at::deleteAll(&Fun1);
// There should now only be the alloca and ret in fun1.
EXPECT_EQ(Fun1.begin()->size(), 2);
EXPECT_EQ(Fun1.begin()->size(), 2u);
// fun2's alloca should have the same DIAssignID and remain linked to its
// llvm.dbg.assign.
EXPECT_EQ(Fun2ID, cast_or_null<DIAssignID>(
Expand Down

0 comments on commit aa37342

Please sign in to comment.