1
0
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:
Chris Lattner 2009-10-22 03:42:27 +00:00
parent 6df2865e24
commit e0932e92e9

View File

@ -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) {