summaryrefslogtreecommitdiffstats
path: root/Source
diff options
context:
space:
mode:
authorKen Martin <ken.martin@kitware.com>2002-09-20 12:09:03 (GMT)
committerKen Martin <ken.martin@kitware.com>2002-09-20 12:09:03 (GMT)
commita7589c3a325a7ab641d0249f126308ac3b1f4385 (patch)
tree19e108a676d3ae0f7a86e79d01729aa7c31fe8ce /Source
parent0415b0db75643e3d0532a2d539b07c4d864b9097 (diff)
downloadCMake-a7589c3a325a7ab641d0249f126308ac3b1f4385.zip
CMake-a7589c3a325a7ab641d0249f126308ac3b1f4385.tar.gz
CMake-a7589c3a325a7ab641d0249f126308ac3b1f4385.tar.bz2
compiler warnings
Diffstat (limited to 'Source')
-rw-r--r--Source/cmTryRunCommand.cxx2
-rw-r--r--Source/cmTryRunCommand.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmTryRunCommand.cxx b/Source/cmTryRunCommand.cxx
index 55fbfd1..fc18db3 100644
--- a/Source/cmTryRunCommand.cxx
+++ b/Source/cmTryRunCommand.cxx
@@ -29,7 +29,7 @@ bool cmTryRunCommand::InitialPass(std::vector<std::string> const& argv)
// build an arg list for TryCompile and extract the runArgs
std::vector<std::string> tryCompile;
std::string runArgs;
- int i;
+ unsigned int i;
for (i = 1; i < argv.size(); ++i)
{
if (argv[i] == "ARGS")
diff --git a/Source/cmTryRunCommand.h b/Source/cmTryRunCommand.h
index 985ccd0..4e45b94 100644
--- a/Source/cmTryRunCommand.h
+++ b/Source/cmTryRunCommand.h
@@ -63,8 +63,8 @@ public:
{
return
"TRY_RUN(RUN_RESULT_VAR COMPILE_RESULT_VAR bindir srcfile <CMAKE_FLAGS <Flags>> <COMPILE_DEFINITIONS <flags>> <ARGUMENTS <arg1> <arg2>...>)\n"
- "Try compiling a srcfile. Return the success or failure in ";
- "COMPILE_RESULT_VAR. Then if the compile succeeded, run the ";
+ "Try compiling a srcfile. Return the success or failure in "
+ "COMPILE_RESULT_VAR. Then if the compile succeeded, run the "
"executable and return the result in RUN_RESULT_VAR. ";
}