summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2012-12-05 18:14:56 (GMT)
committerDavid Cole <david.cole@kitware.com>2012-12-05 18:19:09 (GMT)
commit354ecc1e1f28b9f2412fa015064353c6e20cfe92 (patch)
treee5f63be8b5c672e7206a629a8e453897b68b710b /Source
parentd842d9062297435747117bd74b6e184cedd345cc (diff)
downloadCMake-354ecc1e1f28b9f2412fa015064353c6e20cfe92.zip
CMake-354ecc1e1f28b9f2412fa015064353c6e20cfe92.tar.gz
CMake-354ecc1e1f28b9f2412fa015064353c6e20cfe92.tar.bz2
CMake: Fix dashboard warnings
...in the new file and string TIMESTAMP sub-commands
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++];