summaryrefslogtreecommitdiffstats
path: root/Source/CPack/cmCPackGenerator.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'Source/CPack/cmCPackGenerator.cxx')
-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 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;
}