summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKWrapJavaCommand.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/cmVTKWrapJavaCommand.cxx
parent83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff)
downloadCMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.zip
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.bz2
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmVTKWrapJavaCommand.cxx')
-rw-r--r--Source/cmVTKWrapJavaCommand.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmVTKWrapJavaCommand.cxx b/Source/cmVTKWrapJavaCommand.cxx
index 5012302..10c5b9e 100644
--- a/Source/cmVTKWrapJavaCommand.cxx
+++ b/Source/cmVTKWrapJavaCommand.cxx
@@ -78,7 +78,7 @@ bool cmVTKWrapJavaCommand::InitialPass(std::vector<std::string> const& args)
void cmVTKWrapJavaCommand::FinalPass()
{
// first we add the rules for all the .h to Java.cxx files
- int lastClass = m_WrapClasses.size();
+ size_t lastClass = m_WrapClasses.size();
std::vector<std::string> depends;
std::vector<std::string> depends2;
std::vector<std::string> alldepends;
@@ -98,7 +98,7 @@ void cmVTKWrapJavaCommand::FinalPass()
depends.push_back(hints);
depends2.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());