diff options
| author | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-10-01 22:49:22 +0000 |
|---|---|---|
| committer | Alkis Evlogimenos <alkis@evlogimenos.com> | 2003-10-01 22:49:22 +0000 |
| commit | 6e739d0a3c7a2c002ede8fff5958a57eead00b86 (patch) | |
| tree | 28db3484a3847f278d922d5180bc4891ab003ca9 /llvm/lib | |
| parent | 34e1acb5dcc6d1b1ad4327739374c89f8e4cbfb2 (diff) | |
| download | bcm5719-llvm-6e739d0a3c7a2c002ede8fff5958a57eead00b86.tar.gz bcm5719-llvm-6e739d0a3c7a2c002ede8fff5958a57eead00b86.zip | |
Use std::string::size_type for for ColonPos to stop gcc from giving a warning
llvm-svn: 8811
Diffstat (limited to 'llvm/lib')
| -rw-r--r-- | llvm/lib/Analysis/DataStructure/GraphChecker.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/Analysis/DataStructure/GraphChecker.cpp b/llvm/lib/Analysis/DataStructure/GraphChecker.cpp index 4c690b15ca1..a01c483ed44 100644 --- a/llvm/lib/Analysis/DataStructure/GraphChecker.cpp +++ b/llvm/lib/Analysis/DataStructure/GraphChecker.cpp @@ -125,7 +125,7 @@ void DSGC::verify(const DSGraph &G) { for (cl::list<std::string>::iterator I = CheckFlags.begin(), E = CheckFlags.end(); I != E; ++I) { - unsigned ColonPos = I->rfind(':'); + std::string::size_type ColonPos = I->rfind(':'); if (ColonPos == std::string::npos) { std::cerr << "Error: '" << *I << "' is an invalid value for the --dsgc-check-flags option!\n"; |

