Browse Source

compiler warnings

Ken Martin 23 years ago
parent
commit
a7589c3a32
2 changed files with 3 additions and 3 deletions
  1. 1 1
      Source/cmTryRunCommand.cxx
  2. 2 2
      Source/cmTryRunCommand.h

+ 1 - 1
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")

+ 2 - 2
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. ";
     }