[llvm] r260418 - Fix a -Wsign-compare in Support Path unittests
Reid Kleckner via llvm-commits
llvm-commits at lists.llvm.org
Wed Feb 10 11:29:01 PST 2016
Author: rnk
Date: Wed Feb 10 13:29:01 2016
New Revision: 260418
URL: http://llvm.org/viewvc/llvm-project?rev=260418&view=rev
Log:
Fix a -Wsign-compare in Support Path unittests
Modified:
llvm/trunk/unittests/Support/Path.cpp
Modified: llvm/trunk/unittests/Support/Path.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/unittests/Support/Path.cpp?rev=260418&r1=260417&r2=260418&view=diff
==============================================================================
--- llvm/trunk/unittests/Support/Path.cpp (original)
+++ llvm/trunk/unittests/Support/Path.cpp Wed Feb 10 13:29:01 2016
@@ -416,7 +416,7 @@ TEST(SupportDeathTest, TempDirectoryOnWi
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
More information about the llvm-commits
mailing list