summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalUnixMakefileGenerator3.h
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2010-06-25 12:48:59 (GMT)
committerBrad King <brad.king@kitware.com>2010-06-25 13:05:15 (GMT)
commit6fc4cd86806b349c804cf9dacb2dd04c289a684f (patch)
treed14bd8a90831a301d911629357a613262bc4e9d4 /Source/cmGlobalUnixMakefileGenerator3.h
parentda0190a4a7511b33e6c373b735ccd2e132e083e5 (diff)
downloadCMake-6fc4cd86806b349c804cf9dacb2dd04c289a684f.zip
CMake-6fc4cd86806b349c804cf9dacb2dd04c289a684f.tar.gz
CMake-6fc4cd86806b349c804cf9dacb2dd04c289a684f.tar.bz2
Fix or cast integer conversions in cmake
These were revealed by GCC's -Wconversion option. Fix types where it is easy to do so. Cast in cases we know the integer will not be truncated.
Diffstat (limited to 'Source/cmGlobalUnixMakefileGenerator3.h')
-rw-r--r--Source/cmGlobalUnixMakefileGenerator3.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmGlobalUnixMakefileGenerator3.h b/Source/cmGlobalUnixMakefileGenerator3.h
index 401888f..f499536 100644
--- a/Source/cmGlobalUnixMakefileGenerator3.h
+++ b/Source/cmGlobalUnixMakefileGenerator3.h
@@ -177,7 +177,7 @@ protected:
TargetProgress(): NumberOfActions(0) {}
unsigned long NumberOfActions;
std::string VariableFile;
- std::vector<int> Marks;
+ std::vector<unsigned long> Marks;
void WriteProgressVariables(unsigned long total, unsigned long& current);
};
struct ProgressMapCompare { bool operator()(cmTarget*,cmTarget*) const; };