summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
Diffstat (limited to 'Source')
-rw-r--r--Source/cmFileCommand.cxx2
-rw-r--r--Source/cmStringCommand.cxx2
2 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmFileCommand.cxx b/Source/cmFileCommand.cxx
index 42df3a1..0cdbb82 100644
--- a/Source/cmFileCommand.cxx
+++ b/Source/cmFileCommand.cxx
@@ -3263,7 +3263,7 @@ bool cmFileCommand::HandleTimestampCommand(
return false;
}
- int argsIndex = 1;
+ unsigned int argsIndex = 1;
const std::string& filename = args[argsIndex++];
diff --git a/Source/cmStringCommand.cxx b/Source/cmStringCommand.cxx
index c402738..e49edd8 100644
--- a/Source/cmStringCommand.cxx
+++ b/Source/cmStringCommand.cxx
@@ -901,7 +901,7 @@ bool cmStringCommand
return false;
}
- int argsIndex = 1;
+ unsigned int argsIndex = 1;
const std::string &outputVariable = args[argsIndex++];