aboutsummaryrefslogtreecommitdiffstats
path: root/unittests/Support
diff options
context:
space:
mode:
authorDaniel Dunbar <daniel@zuster.org>2009-05-18 03:44:24 +0000
committerDaniel Dunbar <daniel@zuster.org>2009-05-18 03:44:24 +0000
commit24950d8182ddd0207aaf5964b931e68d89ed9120 (patch)
tree21860e7e7e7b129f65a8834deed74970f4e35539 /unittests/Support
parent1ba46a17e1b0ca9289352bfd658eaf341637e8b3 (diff)
downloadexternal_llvm-24950d8182ddd0207aaf5964b931e68d89ed9120.zip
external_llvm-24950d8182ddd0207aaf5964b931e68d89ed9120.tar.gz
external_llvm-24950d8182ddd0207aaf5964b931e68d89ed9120.tar.bz2
Fix a compile warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71993 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support')
-rw-r--r--unittests/Support/ValueHandleTest.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/unittests/Support/ValueHandleTest.cpp b/unittests/Support/ValueHandleTest.cpp
index 89c8250..336e7d9 100644
--- a/unittests/Support/ValueHandleTest.cpp
+++ b/unittests/Support/ValueHandleTest.cpp
@@ -296,7 +296,7 @@ TEST_F(ValueHandle, CallbackVH_DeletionCanRAUW) {
}
virtual void allUsesReplacedWith(Value *new_value) {
ASSERT_TRUE(NULL != getValPtr());
- EXPECT_EQ(1, getValPtr()->getNumUses());
+ EXPECT_EQ(1U, getValPtr()->getNumUses());
EXPECT_EQ(NULL, AURWArgument);
AURWArgument = new_value;
}