summaryrefslogtreecommitdiffstats
path: root/Source/cmFindLibraryCommand.cxx
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2001-02-23 15:40:13 (GMT)
committerBrad King <brad.king@kitware.com>2001-02-23 15:40:13 (GMT)
commitd31ce244136205bc006967090ddd4d6fdde5b3cb (patch)
tree7c3c96c3a906ed4ba33d7ecc0ab616db8a0e0373 /Source/cmFindLibraryCommand.cxx
parent8f0ac1e9bd4aaf012c10e0044465c580b6f56144 (diff)
downloadCMake-d31ce244136205bc006967090ddd4d6fdde5b3cb.zip
CMake-d31ce244136205bc006967090ddd4d6fdde5b3cb.tar.gz
CMake-d31ce244136205bc006967090ddd4d6fdde5b3cb.tar.bz2
ERR: Fixed warnings (int->unsigned int and a few others).
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r--Source/cmFindLibraryCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFindLibraryCommand.cxx b/Source/cmFindLibraryCommand.cxx
index e241f50..16c3ed8 100644
--- a/Source/cmFindLibraryCommand.cxx
+++ b/Source/cmFindLibraryCommand.cxx
@@ -35,7 +35,7 @@ bool cmFindLibraryCommand::Invoke(std::vector<std::string>& args)
}
std::vector<std::string> path;
// add any user specified paths
- for (int j = 2; j < args.size(); j++)
+ for (unsigned int j = 2; j < args.size(); j++)
{
// expand variables
std::string exp = args[j];
@@ -46,7 +46,7 @@ bool cmFindLibraryCommand::Invoke(std::vector<std::string>& args)
// add the standard path
cmSystemTools::GetPath(path);
- for(int k=0; k < path.size(); k++)
+ for(unsigned int k=0; k < path.size(); k++)
{
std::string tryPath = path[k];
tryPath += "/";