COMP: Eliminate compiler warning on 64-bit build.

This commit is contained in:
David Cole 2008-06-18 16:00:05 -04:00
parent 0fe9afdf5e
commit 974feca643
1 changed files with 2 additions and 1 deletions

View File

@ -1221,7 +1221,8 @@ cmCPackGenerator::GetInstallationType(const char *projectName, const char *name)
installType->DisplayName = installType->Name; installType->DisplayName = installType->Name;
} }
installType->Index = this->InstallationTypes.size(); installType->Index = static_cast<unsigned>(
this->InstallationTypes.size());
} }
return installType; return installType;
} }