Fix signed/unsigned comparison warnings

llvm-svn: 284476
This commit is contained in:
Simon Pilgrim 2016-10-18 13:15:31 +00:00
parent 3955b75ba9
commit 6b6291aa9b
2 changed files with 2 additions and 2 deletions

View File

@ -51,7 +51,7 @@ private:
};
template <typename Check>
std::string runChecker(StringRef Code, int ExpectedWarningCount) {
std::string runChecker(StringRef Code, unsigned ExpectedWarningCount) {
std::map<StringRef, StringRef> AdditionalFileContents = {{"foo.h",
"namespace foo {\n"
"namespace bar {\n"

View File

@ -53,7 +53,7 @@ private:
};
template <typename Check>
std::string runChecker(StringRef Code, int ExpectedWarningCount) {
std::string runChecker(StringRef Code, unsigned ExpectedWarningCount) {
std::map<StringRef, StringRef> AdditionalFileContents = {{"foo.h",
"namespace foo {\n"
"namespace bar {\n"