From a7589c3a325a7ab641d0249f126308ac3b1f4385 Mon Sep 17 00:00:00 2001 From: Ken Martin Date: Fri, 20 Sep 2002 08:09:03 -0400 Subject: compiler warnings --- Source/cmTryRunCommand.cxx | 2 +- Source/cmTryRunCommand.h | 4 ++-- 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 const& argv) // build an arg list for TryCompile and extract the runArgs std::vector 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 > > ...>)\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. "; } -- cgit v0.12