diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-13 15:25:11 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-13 15:25:11 (GMT) |
commit | 809b32fe59ee9923eebbcfc373d9eaab158083e9 (patch) | |
tree | cbb36213252d97bf3f7d21b301b4f65aa7a5342c /Source/cmSystemTools.cxx | |
parent | 83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff) | |
download | CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.zip CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.bz2 |
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r-- | Source/cmSystemTools.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/Source/cmSystemTools.cxx b/Source/cmSystemTools.cxx index a7c68d3..e2d184b 100644 --- a/Source/cmSystemTools.cxx +++ b/Source/cmSystemTools.cxx @@ -637,7 +637,7 @@ void cmSystemTools::GetArguments(std::string& line, while(!done) { std::string arg; - unsigned int endpos; + std::string::size_type endpos; bool foundQuoted = quotedArgument.find(line.c_str()); bool foundNormal = normalArgument.find(line.c_str()); @@ -1427,7 +1427,8 @@ void cmSystemTools::Glob(const char *directory, const char *regexp, if (d.Load(directory)) { - unsigned int i, numf; + size_t numf; + unsigned int i; numf = d.GetNumberOfFiles(); for (i = 0; i < numf; i++) { |