summaryrefslogtreecommitdiffstats
path: root/llvm/unittests/Support
diff options
context:
space:
mode:
authorReid Kleckner <rnk@google.com>2016-02-10 19:29:01 +0000
committerReid Kleckner <rnk@google.com>2016-02-10 19:29:01 +0000
commit88e9ff62ee48a01ca2a23b0f8426973ceafd50cc (patch)
tree724485f72e52253814cdf524f705bd66fe0fbb55 /llvm/unittests/Support
parent257102e63d590f40201f206777548ec523bbe13c (diff)
downloadbcm5719-llvm-88e9ff62ee48a01ca2a23b0f8426973ceafd50cc.tar.gz
bcm5719-llvm-88e9ff62ee48a01ca2a23b0f8426973ceafd50cc.zip
Fix a -Wsign-compare in Support Path unittests
llvm-svn: 260418
Diffstat (limited to 'llvm/unittests/Support')
-rw-r--r--llvm/unittests/Support/Path.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/unittests/Support/Path.cpp b/llvm/unittests/Support/Path.cpp
index 7bbac7ae9df..1653ac028d2 100644
--- 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(260U, Expected.size());
EXPECT_TEMP_DIR(_putenv_s("TMP", Expected.c_str()), Expected.c_str());
}
#endif
OpenPOWER on IntegriCloud