summaryrefslogtreecommitdiffstats
path: root/Source/cmVTKMakeInstantiatorCommand.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/cmVTKMakeInstantiatorCommand.cxx
parent83a0759e479ee0718296a1bb8f6fb26e1b13500a (diff)
downloadCMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.zip
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.gz
CMake-809b32fe59ee9923eebbcfc373d9eaab158083e9.tar.bz2
ENH: remove several compiler warnings
Diffstat (limited to 'Source/cmVTKMakeInstantiatorCommand.cxx')
-rw-r--r--Source/cmVTKMakeInstantiatorCommand.cxx8
1 files changed, 4 insertions, 4 deletions
diff --git a/Source/cmVTKMakeInstantiatorCommand.cxx b/Source/cmVTKMakeInstantiatorCommand.cxx
index 5e4e0c7..4c69a95 100644
--- a/Source/cmVTKMakeInstantiatorCommand.cxx
+++ b/Source/cmVTKMakeInstantiatorCommand.cxx
@@ -174,10 +174,10 @@ cmVTKMakeInstantiatorCommand
m_Makefile->AddSource(file, outSourceList.c_str());
}
- unsigned int numClasses = m_Classes.size();
- unsigned int numFullBlocks = numClasses / groupSize;
- unsigned int lastBlockSize = numClasses % groupSize;
- unsigned int numBlocks = numFullBlocks + ((lastBlockSize>0)? 1:0);
+ size_t numClasses = m_Classes.size();
+ size_t numFullBlocks = numClasses / groupSize;
+ size_t lastBlockSize = numClasses % groupSize;
+ size_t numBlocks = numFullBlocks + ((lastBlockSize>0)? 1:0);
// Generate the files with the ::New() calls to each class. These
// are done in groups to keep the translation unit size smaller.