[compiler-rt] 133b6a0 - [NFC] fix type mismatch in test.
Florian Mayer via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 16 23:22:32 PST 2024
Author: Florian Mayer
Date: 2024-02-16T23:22:19-08:00
New Revision: 133b6a088eb9739e30b4f5f09b97713502b5d66e
URL: https://github.com/llvm/llvm-project/commit/133b6a088eb9739e30b4f5f09b97713502b5d66e
DIFF: https://github.com/llvm/llvm-project/commit/133b6a088eb9739e30b4f5f09b97713502b5d66e.diff
LOG: [NFC] fix type mismatch in test.
Added:
Modified:
compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
Removed:
################################################################################
diff --git a/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
index 434429b7e5cab7..ad37c4a6706392 100644
--- a/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
+++ b/compiler-rt/lib/scudo/standalone/tests/combined_test.cpp
@@ -909,10 +909,10 @@ SCUDO_TYPED_TEST(ScudoCombinedTest, StackDepot) {
scudo::uptr RingPosPtr = 0;
scudo::uptr SizePtr = 0;
ASSERT_TRUE(Depot->find(Elem, &RingPosPtr, &SizePtr));
- ASSERT_EQ(SizePtr, 3);
- EXPECT_EQ(Depot->at(RingPosPtr), 1);
- EXPECT_EQ(Depot->at(RingPosPtr + 1), 2);
- EXPECT_EQ(Depot->at(RingPosPtr + 2), 3);
+ ASSERT_EQ(SizePtr, 3u);
+ EXPECT_EQ(Depot->at(RingPosPtr), 1u);
+ EXPECT_EQ(Depot->at(RingPosPtr + 1) 2u);
+ EXPECT_EQ(Depot->at(RingPosPtr + 2), 3u);
}
#if SCUDO_CAN_USE_PRIMARY64
More information about the llvm-commits
mailing list