diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt index 5aa921b9c1..b56f9d0477 100644 --- a/Source/CMakeLists.txt +++ b/Source/CMakeLists.txt @@ -11,7 +11,6 @@ cmSourceFile.cxx cmSystemTools.cxx cmDirectory.cxx cmDynamicLoader.cxx -cmCPluginAPI.cxx cmCommands.cxx cmTarget.cxx cmCustomCommand.cxx diff --git a/Source/cmLoadCommandCommand.cxx b/Source/cmLoadCommandCommand.cxx index 2c589dd461..a181f001ef 100644 --- a/Source/cmLoadCommandCommand.cxx +++ b/Source/cmLoadCommandCommand.cxx @@ -113,7 +113,7 @@ bool cmLoadedCommand::InitialPass(std::vector const& args) } // create argc and argv and then invoke the command - int argc = args.size(); + int argc = static_cast (args.size()); char **argv = NULL; if (argc) {