From 974feca643dd645aa6b5dda5c9a1841f7123ad9e Mon Sep 17 00:00:00 2001 From: David Cole Date: Wed, 18 Jun 2008 16:00:05 -0400 Subject: [PATCH] COMP: Eliminate compiler warning on 64-bit build. --- Source/CPack/cmCPackGenerator.cxx | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Source/CPack/cmCPackGenerator.cxx b/Source/CPack/cmCPackGenerator.cxx index d177bae2e..f786f80e0 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( + this->InstallationTypes.size()); } return installType; }