summaryrefslogtreecommitdiff
path: root/Source/CPack
diff options
context:
space:
mode:
authorDavid Cole <david.cole@kitware.com>2008-06-18 16:00:05 -0400
committerDavid Cole <david.cole@kitware.com>2008-06-18 16:00:05 -0400
commit974feca643dd645aa6b5dda5c9a1841f7123ad9e (patch)
treecd85f85379ce13fdef77eb140e294fd504150d65 /Source/CPack
parent0fe9afdf5e61efc28687f5147669bcea37dbcce8 (diff)
downloadcmake-974feca643dd645aa6b5dda5c9a1841f7123ad9e.tar.gz
COMP: Eliminate compiler warning on 64-bit build.
Diffstat (limited to 'Source/CPack')
-rw-r--r--Source/CPack/cmCPackGenerator.cxx3
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;
}