diff options
author | David Cole <david.cole@kitware.com> | 2008-06-18 20:00:05 (GMT) |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-06-18 20:00:05 (GMT) |
commit | 974feca643dd645aa6b5dda5c9a1841f7123ad9e (patch) | |
tree | cd85f85379ce13fdef77eb140e294fd504150d65 /Source/CPack | |
parent | 0fe9afdf5e61efc28687f5147669bcea37dbcce8 (diff) | |
download | CMake-974feca643dd645aa6b5dda5c9a1841f7123ad9e.zip CMake-974feca643dd645aa6b5dda5c9a1841f7123ad9e.tar.gz CMake-974feca643dd645aa6b5dda5c9a1841f7123ad9e.tar.bz2 |
COMP: Eliminate compiler warning on 64-bit build.
Diffstat (limited to 'Source/CPack')
-rw-r--r-- | Source/CPack/cmCPackGenerator.cxx | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index d177bae..f786f80 100644 --- a/Source/CPack/cmCPackGenerator.cxx +++ b/Source/CPack/cmCPackGenerator.cxx @@ -1221,7 +1221,8 @@ cmCPackGenerator::GetInstallationType(const char *projectName, const char *name) installType->DisplayName = installType->Name; } - installType->Index = this->InstallationTypes.size(); + installType->Index = static_cast<unsigned>( + this->InstallationTypes.size()); } return installType; } |