llvm.org GIT mirror llvm / 1c3858a
Fix a problem noticed by gcc-4.4: warning: comparison is always true due to limited range of data type. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79642 91177308-0d34-0410-b5e6-96231b3b80d8 Duncan Sands 10 years ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
8787 if (F->hasSection()) {
8888 std::string Sectn = F->getSection();
8989 std::string StrToFind = "Overlay=";
90 unsigned Pos = Sectn.find(StrToFind);
90 size_t Pos = Sectn.find(StrToFind);
9191 if (Pos != std::string::npos) {
9292 Pos += StrToFind.length();
9393 std::string Color = "";