summaryrefslogtreecommitdiffstats
path: root/Source/cmCMakeMinimumRequired.cxx
diff options
context:
space:
mode:
authorBill Hoffman <bill.hoffman@kitware.com>2002-04-25 11:59:57 (GMT)
committerBill Hoffman <bill.hoffman@kitware.com>2002-04-25 11:59:57 (GMT)
commit945c4a8b5b2e0650478f6bc67029d9481207702d (patch)
treeff00b9bb59ecaae535ad58542420488f719fabe3 /Source/cmCMakeMinimumRequired.cxx
parent0c948312edfee7cf3e44c167bdc20f86b8f60266 (diff)
downloadCMake-945c4a8b5b2e0650478f6bc67029d9481207702d.zip
CMake-945c4a8b5b2e0650478f6bc67029d9481207702d.tar.gz
CMake-945c4a8b5b2e0650478f6bc67029d9481207702d.tar.bz2
WAR: remove warnings for .NET compiler
Diffstat (limited to 'Source/cmCMakeMinimumRequired.cxx')
-rw-r--r--Source/cmCMakeMinimumRequired.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/Source/cmCMakeMinimumRequired.cxx b/Source/cmCMakeMinimumRequired.cxx
index a8e89e8..6396532 100644
--- a/Source/cmCMakeMinimumRequired.cxx
+++ b/Source/cmCMakeMinimumRequired.cxx
@@ -30,7 +30,7 @@ bool cmCMakeMinimumRequired::InitialPass(std::vector<std::string> const& args)
m_Makefile->AddDefinition("CMAKE_MINIMUM_REQUIRED_VERSION", args[1].c_str());
}
float version = float(m_Makefile->GetMajorVersion());
- version += (float(m_Makefile->GetMinorVersion()) * .1);
+ version += (float(m_Makefile->GetMinorVersion()) * (float).1);
float reqVersion = 0;
sscanf(args[1].c_str(), "%f", &reqVersion);
if(reqVersion > version)