summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-05-11 15:45:04 (GMT)
committerBrad King <brad.king@kitware.com>2001-05-11 15:45:04 (GMT)
commit6edfd1104c0da4b5712e30ff609cbc33256d0168 (patch)
tree9118360757cee676462042a5cd6fdf8cfdeaab00 /Source/cmFindLibraryCommand.cxx
parentf81ae298347d76bfacb82b002a30f518e8724d18 (diff)
downloadCMake-6edfd1104c0da4b5712e30ff609cbc33256d0168.zip
CMake-6edfd1104c0da4b5712e30ff609cbc33256d0168.tar.gz
CMake-6edfd1104c0da4b5712e30ff609cbc33256d0168.tar.bz2
ERR: int -> unsigned int.
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r--Source/cmFindLibraryCommand.cxx4
1 files changed, 1 insertions, 3 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
index a17bcfa..84959dc 100644
--- a/Source/cmFindLibraryCommand.cxx
+++ b/Source/cmFindLibraryCommand.cxx
@@ -54,13 +54,11 @@ bool cmFindLibraryCommand::Invoke(std::vector<std::string>& args)
std::string helpString = "Where can the ";
if(args[1] == "NAMES")
{
- int i = 2;
- while(args[i] != "PATHS" && i < args.size())
+ for(unsigned int i=2; (args[i] != "PATHS" && i < args.size()); ++i)
{
helpString = "( ";
helpString += args[i];
helpString += " ";
- i++;
}
}
else