diff options
Diffstat (limited to 'Source/cmFindLibraryCommand.cxx')
-rw-r--r-- | Source/cmFindLibraryCommand.cxx | 4 |
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 += "/"; |