File tree Expand file tree Collapse file tree 2 files changed +3
-3
lines changed
Code/Framework/AzToolsFramework/AzToolsFramework
UI/DocumentPropertyEditor Expand file tree Collapse file tree 2 files changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -54,8 +54,8 @@ namespace AzToolsFramework::Prefab::PrefabConversionUtils
54
54
{
55
55
// Loop over an entity's components backwards and pop-off components that shouldn't exist.
56
56
AZStd::vector<AZ::Component*> components = entity->GetComponents ();
57
- const int oldComponentCount = components.size ();
58
- for (int i = oldComponentCount - 1 ; i >= 0 ; --i)
57
+ const auto oldComponentCount = components.size ();
58
+ for (int i = aznumeric_cast< int >( oldComponentCount) - 1 ; i >= 0 ; --i)
59
59
{
60
60
AZ::Component* component = components[i];
61
61
if (excludedComponents.contains (component->GetUnderlyingComponentType ()))
Original file line number Diff line number Diff line change @@ -238,7 +238,7 @@ namespace AzToolsFramework
238
238
// todo: implement QSplitter-like functionality to allow the user to resize columns within a DPE
239
239
240
240
// Determine the number of columns.
241
- const int columnCount = m_columnStarts.size ();
241
+ const int columnCount = aznumeric_cast< int >( m_columnStarts.size () );
242
242
243
243
// Early out if no columns are detected.
244
244
if (columnCount == 0 )
You can’t perform that action at this time.
0 commit comments