mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-14 00:32:55 +00:00
fix warning.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
ce6a1c9756
commit
c5e5498058
@ -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) {
|
||||
|
Loading…
x
Reference in New Issue
Block a user