projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
24f37da
)
Fix unsigned/signed comparison warning.
author
Eric Christopher
<echristo@gmail.com>
Tue, 27 Jan 2015 01:01:39 +0000
(
01:01
+0000)
committer
Eric Christopher
<echristo@gmail.com>
Tue, 27 Jan 2015 01:01:39 +0000
(
01:01
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@227158
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/Support/ConvertUTFTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/Support/ConvertUTFTest.cpp
b/unittests/Support/ConvertUTFTest.cpp
index a6dbe4c475fcded14ea182941cb38ae3e24b39d3..d436fc02289634a90fc56912d37af827c862ef8a 100644
(file)
--- a/
unittests/Support/ConvertUTFTest.cpp
+++ b/
unittests/Support/ConvertUTFTest.cpp
@@
-46,7
+46,7
@@
TEST(ConvertUTFTest, ConvertUTF8ToUTF16String) {
bool Success = convertUTF8ToUTF16String(Ref, Result);
EXPECT_TRUE(Success);
static const UTF16 Expected[] = {0x0CA0, 0x005f, 0x0CA0, 0};
- ASSERT_EQ(3, Result.size());
+ ASSERT_EQ(3
u
, Result.size());
for (int I = 0, E = 3; I != E; ++I)
EXPECT_EQ(Expected[I], Result[I]);
}