diff options
author | Brad King <brad.king@kitware.com> | 2007-11-05 19:34:36 (GMT) |
---|---|---|
committer | Brad King <brad.king@kitware.com> | 2007-11-05 19:34:36 (GMT) |
commit | f410f8578eea403d0ca657e46ec7659cd0f805e7 (patch) | |
tree | 09715a217fb40d51d17508c95244dbdfa6d1d399 /Source/CPack/cmCPackPackageMakerGenerator.cxx | |
parent | cfa723d45792ef6969304fb7d9274778f662a116 (diff) | |
download | CMake-f410f8578eea403d0ca657e46ec7659cd0f805e7.zip CMake-f410f8578eea403d0ca657e46ec7659cd0f805e7.tar.gz CMake-f410f8578eea403d0ca657e46ec7659cd0f805e7.tar.bz2 |
COMP: Fix warnings on 64-bit Mac OS X build. Patch from issue #3697.
Diffstat (limited to 'Source/CPack/cmCPackPackageMakerGenerator.cxx')
-rw-r--r-- | Source/CPack/cmCPackPackageMakerGenerator.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Source/CPack/cmCPackPackageMakerGenerator.cxx b/Source/CPack/cmCPackPackageMakerGenerator.cxx index 79dac06..47078a7 100644 --- a/Source/CPack/cmCPackPackageMakerGenerator.cxx +++ b/Source/CPack/cmCPackPackageMakerGenerator.cxx @@ -30,7 +30,7 @@ //---------------------------------------------------------------------- cmCPackPackageMakerGenerator::cmCPackPackageMakerGenerator() { - this->PackageMakerVersion = 0; + this->PackageMakerVersion = 0.0; } //---------------------------------------------------------------------- @@ -196,7 +196,7 @@ int cmCPackPackageMakerGenerator::InitializeInternal() return 0; } this->PackageMakerVersion = atof(rexVersion.match(1).c_str()); - if ( this->PackageMakerVersion < 1 ) + if ( this->PackageMakerVersion < 1.0 ) { cmCPackLogger(cmCPackLog::LOG_ERROR, "Require PackageMaker 1.0 or higher" << std::endl); |