summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-08-27 13:43:54 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-08-27 13:43:54 (GMT)
commit37b73a908afa5806c883f493a76d5a6a3ed11235 (patch)
tree0bd8e0d31dfa0a444806726788f85bc370830e43
parent716eb198198f982d3670ce83927e791103d11fc0 (diff)
downloadCMake-37b73a908afa5806c883f493a76d5a6a3ed11235.zip
CMake-37b73a908afa5806c883f493a76d5a6a3ed11235.tar.gz
CMake-37b73a908afa5806c883f493a76d5a6a3ed11235.tar.bz2
ENH: fix warnings
-rw-r--r--Source/CMakeLists.txt1
-rw-r--r--Source/cmLoadCommandCommand.cxx2
2 files changed, 1 insertions, 2 deletions
diff --git a/Source/CMakeLists.txt b/Source/CMakeLists.txt
index 5aa921b..b56f9d0 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 2c589dd..a181f00 100644
--- a/Source/cmLoadCommandCommand.cxx
+++ b/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)
{