mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-23 19:23:23 +01:00
fix warning.
llvm-svn: 84826
This commit is contained in:
parent
6df2865e24
commit
e0932e92e9
@ -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…
Reference in New Issue
Block a user