warnings not previously detected (#2954)

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-06 16:24:06 -07:00
committed by GitHub
parent 6b2c9cbede
commit dcfeae1cc9
2 changed files with 2 additions and 2 deletions
@@ -59,7 +59,7 @@ public:
virtual bool IsEmpty() const { return m_undoObjects.empty(); };
virtual void Undo(bool bUndo)
{
for (int i = m_undoObjects.size() - 1; i >= 0; i--)
for (int i = aznumeric_cast<int>(m_undoObjects.size()) - 1; i >= 0; i--)
{
m_undoObjects[i]->Undo(bUndo);
}