Code/Tools fixes

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-16 15:55:41 -07:00
parent 14990012f8
commit b255334535
11 changed files with 18 additions and 20 deletions
@@ -337,7 +337,7 @@ bool AssetBuilderComponent::ConnectToAssetProcessor()
AZStd::string overridePort;
if (GetParameter(s_paramPort, overridePort, false))
{
connectionSettings.m_assetProcessorPort = AZStd::stoi(overridePort);
connectionSettings.m_assetProcessorPort = static_cast<AZ::u16>(AZStd::stoi(overridePort));
}
//the asset builder may have been given an optional asset platform to use