fix warning.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@84826 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2009-10-22 03:42:27 +00:00
parent ce6a1c9756
commit c5e5498058

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