summaryrefslogtreecommitdiff
path: root/Source/cmQTWrapCPPCommand.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-03-13 10:25:11 -0500
committerBill Hoffman <bill.hoffman@kitware.com>2002-03-13 10:25:11 -0500
commit809b32fe59ee9923eebbcfc373d9eaab158083e9 (patch)
treecbb36213252d97bf3f7d21b301b4f65aa7a5342c /Source/cmQTWrapCPPCommand.cxx
parent83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff)
downloadcmake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmQTWrapCPPCommand.cxx')
-rw-r--r--Source/cmQTWrapCPPCommand.cxx4
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());