Selaa lähdekoodia

ENH: fix warnings

Bill Hoffman 23 vuotta sitten
vanhempi
sitoutus
37b73a908a
2 muutettua tiedostoa jossa 1 lisäystä ja 2 poistoa
  1. 0 1
      Source/CMakeLists.txt
  2. 1 1
      Source/cmLoadCommandCommand.cxx

+ 0 - 1
Source/CMakeLists.txt

@@ -11,7 +11,6 @@ cmSourceFile.cxx
 cmSystemTools.cxx
 cmDirectory.cxx
 cmDynamicLoader.cxx
-cmCPluginAPI.cxx
 cmCommands.cxx
 cmTarget.cxx
 cmCustomCommand.cxx

+ 1 - 1
Source/cmLoadCommandCommand.cxx

@@ -113,7 +113,7 @@ bool cmLoadedCommand::InitialPass(std::vector<std::string> const& args)
     }
   
   // create argc and argv and then invoke the command
-  int argc = args.size();
+  int argc = static_cast<int> (args.size());
   char **argv = NULL;
   if (argc)
     {