diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2009-12-31 16:27:13 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2009-12-31 16:27:13 +0000 |
| commit | 738800dd1dfa9347652eb4d5411948276d9e9e61 (patch) | |
| tree | d6f36988188f21b83fcc009d7650184361c287de /llvm/unittests/ADT | |
| parent | d77adb5b1cfbcd45749cecdaa9dfeb88d691c356 (diff) | |
| download | bcm5719-llvm-738800dd1dfa9347652eb4d5411948276d9e9e61.tar.gz bcm5719-llvm-738800dd1dfa9347652eb4d5411948276d9e9e61.zip | |
Silence compiler warning.
warning: comparison between signed and unsigned integer expressions
llvm-svn: 92359
Diffstat (limited to 'llvm/unittests/ADT')
| -rw-r--r-- | llvm/unittests/ADT/StringRefTest.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/ADT/StringRefTest.cpp b/llvm/unittests/ADT/StringRefTest.cpp index 8507efa1865..b0dcb0a0aba 100644 --- a/llvm/unittests/ADT/StringRefTest.cpp +++ b/llvm/unittests/ADT/StringRefTest.cpp @@ -249,7 +249,7 @@ TEST(StringRefTest, Count) { TEST(StringRefTest, EditDistance) { StringRef Str("hello"); - EXPECT_EQ(2, Str.edit_distance("hill")); + EXPECT_EQ(2U, Str.edit_distance("hill")); } TEST(StringRefTest, Misc) { |

