Silence compiler warning.

warning: comparison between signed and unsigned integer expressions


git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@92359 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Benjamin Kramer 2009-12-31 16:27:13 +00:00
parent 13a754ce92
commit 4760467ff2

View File

@ -249,7 +249,7 @@ TEST(StringRefTest, Count) {
TEST(StringRefTest, EditDistance) { TEST(StringRefTest, EditDistance) {
StringRef Str("hello"); StringRef Str("hello");
EXPECT_EQ(2, Str.edit_distance("hill")); EXPECT_EQ(2U, Str.edit_distance("hill"));
} }
TEST(StringRefTest, Misc) { TEST(StringRefTest, Misc) {