diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-27 23:11:12 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-02-27 23:11:12 (GMT) |
commit | 6c1e38abb4d36cebaff76807bd0e5979b520b6f9 (patch) | |
tree | 2523cbbb76e80188daedb819edb2530f889941e4 /Source/cmSystemTools.cxx | |
parent | 0b6f8be725a48e929bcf7c2e8003ef2f03494b06 (diff) | |
download | CMake-6c1e38abb4d36cebaff76807bd0e5979b520b6f9.zip CMake-6c1e38abb4d36cebaff76807bd0e5979b520b6f9.tar.gz CMake-6c1e38abb4d36cebaff76807bd0e5979b520b6f9.tar.bz2 |
clean up in dot net
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index 13d178b..ebbcaa6 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -636,7 +636,7 @@ void cmSystemTools::GetArguments(std::string& line, while(!done) { std::string arg; - long endpos; + unsigned int endpos; bool foundQuoted = quotedArgument.find(line.c_str()); bool foundNormal = normalArgument.find(line.c_str()); @@ -1411,7 +1411,7 @@ void cmSystemTools::Glob(const char *directory, const char *regexp, if (d.Load(directory)) { - int i, numf; + unsigned int i, numf; numf = d.GetNumberOfFiles(); for (i = 0; i < numf; i++) { @@ -1441,7 +1441,7 @@ void cmSystemTools::GlobDirs(const char *fullPath, cmDirectory d; if (d.Load(startPath.c_str())) { - for (int i = 0; i < d.GetNumberOfFiles(); ++i) + for (unsigned int i = 0; i < d.GetNumberOfFiles(); ++i) { if((std::string(d.GetFile(i)) != ".") && (std::string(d.GetFile(i)) != "..")) |