diff options
author | Chris Lattner <sabre@nondot.org> | 2009-10-22 03:42:27 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2009-10-22 03:42:27 +0000 |
commit | c5e5498058718961504012c487a471e7c0b410b9 (patch) | |
tree | 397691ffcab36cc9db725ac0897f96de4047ee6d | |
parent | ce6a1c97569ce65a60340b20e65abd0787969942 (diff) |
fix warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84826 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r-- | lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp index 08b49c8e5f..ea0f4941da 100644 --- a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp +++ b/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) { |