diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-13 15:25:11 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-13 15:25:11 (GMT) |
commit | 809b32fe59ee9923eebbcfc373d9eaab158083e9 (patch) | |
tree | cbb36213252d97bf3f7d21b301b4f65aa7a5342c /Source/cmVTKWrapPythonCommand.cxx | |
parent | 83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff) | |
download | CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.zip CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.bz2 |
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmVTKWrapPythonCommand.cxx')
-rw-r--r-- | Source/cmVTKWrapPythonCommand.cxx | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmVTKWrapPythonCommand.cxx b/Source/cmVTKWrapPythonCommand.cxx index 1b32415..e1359f9 100644 --- a/Source/cmVTKWrapPythonCommand.cxx +++ b/Source/cmVTKWrapPythonCommand.cxx @@ -78,7 +78,7 @@ bool cmVTKWrapPythonCommand::InitialPass(std::vector<std::string> const& args) void cmVTKWrapPythonCommand::FinalPass() { // first we add the rules for all the .h to Python.cxx files - int lastClass = m_WrapClasses.size(); + size_t lastClass = m_WrapClasses.size(); std::vector<std::string> depends; std::string wpython = "${VTK_WRAP_PYTHON_EXE}"; std::string hints = "${VTK_WRAP_HINTS}"; @@ -105,7 +105,7 @@ void cmVTKWrapPythonCommand::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::string res = m_Makefile->GetCurrentOutputDirectory(); @@ -129,8 +129,8 @@ void cmVTKWrapPythonCommand::FinalPass() bool cmVTKWrapPythonCommand::CreateInitFile(std::string& res) { 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++) { std::string cls = m_WrapHeaders[classNum]; |