projects
/
oota-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
ce6a1c9
)
fix warning.
author
Chris Lattner
<sabre@nondot.org>
Thu, 22 Oct 2009 03:42:27 +0000
(
03:42
+0000)
committer
Chris Lattner
<sabre@nondot.org>
Thu, 22 Oct 2009 03:42:27 +0000
(
03:42
+0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84826
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
patch
|
blob
|
history
diff --git
a/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
b/lib/Target/PIC16/AsmPrinter/PIC16AsmPrinter.cpp
index 08b49c8e5f86e925b2b4487e7e5841de6bc69c52..ea0f4941da7afb17dc7b55e9df7b056deafc2df3 100644
(file)
--- 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) {