commit | 62b547a9ebaa6ec2a311748d9f38521ee1175230 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Thu Oct 22 03:42:27 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Thu Oct 22 03:42:27 2009 +0000 |
tree | 397691ffcab36cc9db725ac0897f96de4047ee6d | |
parent | 580b86f11cbb963155f8a7706ede7835c20691ba [diff] [blame] |
fix warning. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84826 91177308-0d34-0410-b5e6-96231b3b80d8
diff --git a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp index 08b49c8..ea0f494 100644 --- a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp +++ b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
@@ -57,7 +57,7 @@ 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) {