summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKWrapTclCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-13 15:25:11 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-13 15:25:11 (GMT)
commit809b32fe59ee9923eebbcfc373d9eaab158083e9 (patch)
treecbb36213252d97bf3f7d21b301b4f65aa7a5342c /Source/cmVTKWrapTclCommand.cxx
parent83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff)
downloadCMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.zip
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.bz2
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmVTKWrapTclCommand.cxx')
-rw-r--r--Source/cmVTKWrapTclCommand.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmVTKWrapTclCommand.cxx b/Source/cmVTKWrapTclCommand.cxx
index 18e02bf..4d5e8fc 100644
--- a/Source/cmVTKWrapTclCommand.cxx
+++ b/Source/cmVTKWrapTclCommand.cxx
@@ -110,7 +110,7 @@ bool cmVTKWrapTclCommand::InitialPass(std::vector<std::string> const& args)
void cmVTKWrapTclCommand::FinalPass()
{
// first we add the rules for all the .h to Tcl.cxx files
- int lastClass = m_WrapClasses.size();
+ size_t lastClass = m_WrapClasses.size();
std::vector<std::string> depends;
std::string wtcl = "${VTK_WRAP_TCL_EXE}";
std::string hints = "${VTK_WRAP_HINTS}";
@@ -137,7 +137,7 @@ void cmVTKWrapTclCommand::FinalPass()
{
depends.push_back(hints);
}
- for(int classNum = 0; classNum < lastClass; classNum++)
+ for(size_t classNum = 0; classNum < lastClass; classNum++)
{
m_Makefile->AddSource(m_WrapClasses[classNum],m_SourceList.c_str());
std::vector<std::string> args;
@@ -165,8 +165,8 @@ bool cmVTKWrapTclCommand::CreateInitFile(std::string& res)
std::string kitName = cmSystemTools::Capitalized(m_LibraryName);
std::vector<std::string> classes;
- int lastClass = m_WrapHeaders.size();
- int classNum;
+ size_t lastClass = m_WrapHeaders.size();
+ size_t classNum;
for(classNum = 0; classNum < lastClass; classNum++)
{
if (!m_WrapClasses[classNum].IsAnAbstractClass())