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:
661f760
)
Remove warning about testing unsigned int with int.
author
Bill Wendling
<isanbard@gmail.com>
Tue, 15 May 2012 09:59:13 +0000
(09:59 +0000)
committer
Bill Wendling
<isanbard@gmail.com>
Tue, 15 May 2012 09:59:13 +0000
(09:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156812
91177308
-0d34-0410-b5e6-
96231b3b80d8
unittests/ADT/SmallMapTest.cpp
patch
|
blob
|
history
diff --git
a/unittests/ADT/SmallMapTest.cpp
b/unittests/ADT/SmallMapTest.cpp
index 10ba0ef2bfb1483391ff67afa26335326eacb5b2..5729717e0f2bbf75c76d681d61ac5034ef726665 100644
(file)
--- a/
unittests/ADT/SmallMapTest.cpp
+++ b/
unittests/ADT/SmallMapTest.cpp
@@
-149,7
+149,7
@@
TEST(SmallMapTest, GeneralTest) {
SmallMap<int, int, 8> d;
d[0] = 2;
d[1] = 3;
-
unsigned
counts[2] = { 0, 0 };
+
int
counts[2] = { 0, 0 };
for (SmallMap<int, int, 8>::iterator I = d.begin(), E = d.end(); I != E;
++I) {
EXPECT_TRUE(I->first == 0 || I->first == 1);