From 521e245288e5f9c88c24b28855676ea8034dfa75 Mon Sep 17 00:00:00 2001 From: Bill Wendling Date: Mon, 5 May 2008 20:51:58 +0000 Subject: [PATCH] Using "unsigned" was masking the "size_t" version of this method. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50668 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/llvm/Support/PassNameParser.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/llvm/Support/PassNameParser.h b/include/llvm/Support/PassNameParser.h index 8c31189be24..961638c43f4 100644 --- a/include/llvm/Support/PassNameParser.h +++ b/include/llvm/Support/PassNameParser.h @@ -82,7 +82,7 @@ public: // printOptionInfo - Print out information about this option. Override the // default implementation to sort the table before we print... - virtual void printOptionInfo(const cl::Option &O, unsigned GlobalWidth) const{ + virtual void printOptionInfo(const cl::Option &O, size_t GlobalWidth) const { PassNameParser *PNP = const_cast(this); std::sort(PNP->Values.begin(), PNP->Values.end(), ValLessThan); cl::parser::printOptionInfo(O, GlobalWidth); -- 2.34.1