diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-13 10:25:11 -0500 |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2002-03-13 10:25:11 -0500 |
commit | 809b32fe59ee9923eebbcfc373d9eaab158083e9 (patch) | |
tree | cbb36213252d97bf3f7d21b301b4f65aa7a5342c /Source/cmQTWrapCPPCommand.cxx | |
parent | 83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff) | |
download | cmake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz |
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmQTWrapCPPCommand.cxx')
-rw-r--r-- | Source/cmQTWrapCPPCommand.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/cmQTWrapCPPCommand.cxx b/Source/cmQTWrapCPPCommand.cxx index 9db2bcde54..8a1a044f1f 100644 --- a/Source/cmQTWrapCPPCommand.cxx +++ b/Source/cmQTWrapCPPCommand.cxx @@ -89,7 +89,7 @@ void cmQTWrapCPPCommand::FinalPass() { // first we add the rules for all the .h to Moc files - int lastClass = m_WrapClasses.size(); + size_t lastClass = m_WrapClasses.size(); std::vector<std::string> depends; std::string moc_exe = "${QT_MOC_EXE}"; @@ -105,7 +105,7 @@ void cmQTWrapCPPCommand::FinalPass() moc_list=moc_list+GENERATED_QT_FILES_value; } - for(int classNum = 0; classNum < lastClass; classNum++) + for(size_t classNum = 0; classNum < lastClass; classNum++) { // Add output to build list m_Makefile->AddSource(m_WrapClasses[classNum],m_SourceList.c_str()); |