fix warning.

llvm-svn: 84826
This commit is contained in:
Chris Lattner 2009-10-22 03:42:27 +00:00
parent 44886fd124
commit 1448799377
1 changed files with 1 additions and 1 deletions

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