mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-23 02:32:11 +00:00
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
This commit is contained in:
parent
8554cc2ea7
commit
521e245288
@ -82,7 +82,7 @@ public:
|
|||||||
|
|
||||||
// printOptionInfo - Print out information about this option. Override the
|
// printOptionInfo - Print out information about this option. Override the
|
||||||
// default implementation to sort the table before we print...
|
// 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<PassNameParser*>(this);
|
PassNameParser *PNP = const_cast<PassNameParser*>(this);
|
||||||
std::sort(PNP->Values.begin(), PNP->Values.end(), ValLessThan);
|
std::sort(PNP->Values.begin(), PNP->Values.end(), ValLessThan);
|
||||||
cl::parser<const PassInfo*>::printOptionInfo(O, GlobalWidth);
|
cl::parser<const PassInfo*>::printOptionInfo(O, GlobalWidth);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user