summaryrefslogtreecommitdiffstats
path: root/Source/cmSystemTools.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmSystemTools.cxx')
-rw-r--r--Source/cmSystemTools.cxx5
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++)
{