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 | 14487993778db3d3896f2445baf6b16e70e049b6 (patch) | |
| tree | a835b0e8d248ca3702a0777f442ff391c1523379 /llvm/lib | |
| parent | 44886fd124eba58a6e48247c336db8159b3b3725 (diff) | |
| download | bcm5719-llvm-14487993778db3d3896f2445baf6b16e70e049b6.tar.gz bcm5719-llvm-14487993778db3d3896f2445baf6b16e70e049b6.zip | |
fix warning.
llvm-svn: 84826
Diffstat (limited to 'llvm/lib')
| -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) { |

