projects
/
platform
/
upstream
/
llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
257102e
)
Fix a -Wsign-compare in Support Path unittests
author
Reid Kleckner
<rnk@google.com>
Wed, 10 Feb 2016 19:29:01 +0000
(19:29 +0000)
committer
Reid Kleckner
<rnk@google.com>
Wed, 10 Feb 2016 19:29:01 +0000
(19:29 +0000)
llvm-svn: 260418
llvm/unittests/Support/Path.cpp
patch
|
blob
|
history
diff --git
a/llvm/unittests/Support/Path.cpp
b/llvm/unittests/Support/Path.cpp
index
7bbac7a
..
1653ac0
100644
(file)
--- a/
llvm/unittests/Support/Path.cpp
+++ b/
llvm/unittests/Support/Path.cpp
@@
-416,7
+416,7
@@
TEST(SupportDeathTest, TempDirectoryOnWindows) {
SmallString<270> Expected{"C:\\Temp\\AB\\123456789"};
while (Expected.size() < 260)
Expected.append("\\DirNameWith19Charss");
- ASSERT_EQ(260, Expected.size());
+ ASSERT_EQ(260
U
, Expected.size());
EXPECT_TEMP_DIR(_putenv_s("TMP", Expected.c_str()), Expected.c_str());
}
#endif