commit | 4d48cd1af315a7ea37a2f1efa492ab34e2522e02 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Thu Dec 31 16:27:13 2009 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Thu Dec 31 16:27:13 2009 +0000 |
tree | c89d8025ddc465ec0448a08cefc91425aa3001ba | |
parent | 4b67f55f7df3cf4197387222d6558b0ad02096ff [diff] [blame] |
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
diff --git a/unittests/ADT/StringRefTest.cpp b/unittests/ADT/StringRefTest.cpp index 8507efa..b0dcb0a 100644 --- a/unittests/ADT/StringRefTest.cpp +++ b/unittests/ADT/StringRefTest.cpp
@@ -249,7 +249,7 @@ TEST(StringRefTest, EditDistance) { StringRef Str("hello"); - EXPECT_EQ(2, Str.edit_distance("hill")); + EXPECT_EQ(2U, Str.edit_distance("hill")); } TEST(StringRefTest, Misc) {