Fix a compile warning.
authorDaniel Dunbar <daniel@zuster.org>
Mon, 18 May 2009 03:44:24 +0000 (03:44 +0000)
committerDaniel Dunbar <daniel@zuster.org>
Mon, 18 May 2009 03:44:24 +0000 (03:44 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@71993 91177308-0d34-0410-b5e6-96231b3b80d8

unittests/Support/ValueHandleTest.cpp

index 89c82504216e32d222420070911ca8f6463ee0f7..336e7d90dc913e0bc58a2347f28ac7abfe276b5f 100644 (file)
@@ -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;
     }