summaryrefslogtreecommitdiffstats
path: root/Source/cmGlobalGenerator.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2007-11-13 03:36:26 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2007-11-13 03:36:26 (GMT)
commita2ff3928dee01321fcdd1cd598619192cc0c56f7 (patch)
tree3885237e07e23445bf2d57799dadd65e0007d00b /Source/cmGlobalGenerator.cxx
parentd9d40942a0e7fe2780e33ddd0912ecb3e2335079 (diff)
downloadCMake-a2ff3928dee01321fcdd1cd598619192cc0c56f7.zip
CMake-a2ff3928dee01321fcdd1cd598619192cc0c56f7.tar.gz
CMake-a2ff3928dee01321fcdd1cd598619192cc0c56f7.tar.bz2
ENH: add f stuff to avoid warnings
Diffstat (limited to 'Source/cmGlobalGenerator.cxx')
-rw-r--r--Source/cmGlobalGenerator.cxx6
1 files changed, 3 insertions, 3 deletions
diff --git a/Source/cmGlobalGenerator.cxx b/Source/cmGlobalGenerator.cxx
index a0182ee..5299a1c 100644
--- a/Source/cmGlobalGenerator.cxx
+++ b/Source/cmGlobalGenerator.cxx
@@ -681,7 +681,7 @@ bool cmGlobalGenerator::IsDependedOn(const char* project,
void cmGlobalGenerator::Configure()
{
- this->FirstTimeProgress = 0.0;
+ this->FirstTimeProgress = 0.0f;
// Delete any existing cmLocalGenerators
unsigned int i;
for (i = 0; i < this->LocalGenerators.size(); ++i)
@@ -908,7 +908,7 @@ int cmGlobalGenerator::TryCompile(const char *srcdir, const char *bindir,
// we are in the first time progress and we have no
// idea how long it will be. So, just move 1/10th of the way
// there each time, and don't go over 95%
- this->FirstTimeProgress += ((1.0 - this->FirstTimeProgress) /30.0);
+ this->FirstTimeProgress += ((1.0f - this->FirstTimeProgress) /30.0f);
if(this->FirstTimeProgress > 0.95f)
{
this->FirstTimeProgress = 0.95f;
@@ -1080,7 +1080,7 @@ void cmGlobalGenerator::AddLocalGenerator(cmLocalGenerator *lg)
// we are in the first time progress and we have no
// idea how long it will be. So, just move half way
// there each time, and don't go over 95%
- this->FirstTimeProgress += ((1.0 - this->FirstTimeProgress) /30.0);
+ this->FirstTimeProgress += ((1.0f - this->FirstTimeProgress) /30.0f);
if(this->FirstTimeProgress > 0.95f)
{
this->FirstTimeProgress = 0.95f;