diff options
author | David Cole <david.cole@kitware.com> | 2008-06-18 16:00:05 -0400 |
---|---|---|
committer | David Cole <david.cole@kitware.com> | 2008-06-18 16:00:05 -0400 |
commit | 974feca643dd645aa6b5dda5c9a1841f7123ad9e (patch) | |
tree | cd85f85379ce13fdef77eb140e294fd504150d65 /Source/CPack | |
parent | 0fe9afdf5e61efc28687f5147669bcea37dbcce8 (diff) | |
download | cmake-974feca643dd645aa6b5dda5c9a1841f7123ad9e.tar.gz |
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 d177bae2e6..f786f80e07 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; } |