diff options
Diffstat (limited to 'llvm/lib/Target')
| -rw-r--r-- | llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp b/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp index 08b49c8e5f8..ea0f4941da7 100644 --- a/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp +++ b/llvm/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp @@ -57,7 +57,7 @@ static int getFunctionColor(const Function *F) { if (F->hasSection()) { std::string Sectn = F->getSection(); std::string StrToFind = "Overlay="; - unsigned Pos = Sectn.find(StrToFind); + std::string::size_type Pos = Sectn.find(StrToFind); // Retreive the color number if the key is found. if (Pos != std::string::npos) { |

