fix w4018

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
pappeste
2021-06-18 17:45:51 -07:00
committed by Esteban Papp
parent 97354ce90a
commit 10f950b726
33 changed files with 72 additions and 73 deletions
@@ -616,7 +616,7 @@ UiInteractableStateFont::FontEffectComboBoxVec UiInteractableStateFont::Populate
// NOTE: Curently, in order for this to work, when the font is changed we need to do
// "RefreshEntireTree" to get the combo box list refreshed.
unsigned int numEffects = m_fontFamily ? m_fontFamily->normal->GetNumEffects() : 0;
for (int i = 0; i < numEffects; ++i)
for (unsigned int i = 0; i < numEffects; ++i)
{
const char* name = m_fontFamily->normal->GetEffectName(i);
result.push_back(AZStd::make_pair(i, name));