More fixes for Code/Framework

Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com>
This commit is contained in:
Esteban Papp
2021-08-13 16:04:31 -07:00
parent 9c5b2768e2
commit e7f07147cb
2 changed files with 15 additions and 14 deletions
@@ -78,7 +78,7 @@ namespace AZ
return remaining;
}
if (m_waitEvent && remaining == (m_parent ? 1 : 0))
if (m_waitEvent && remaining == (m_parent ? 1u : 0u))
{
m_waitEvent->Signal();
}
@@ -259,7 +259,7 @@ namespace AZ
}
bool isRetained = task->m_graph->m_parent != nullptr;
if (task->m_graph->Release() == (isRetained ? 1 : 0))
if (task->m_graph->Release() == (isRetained ? 1u : 0u))
{
m_executor->ReleaseGraph();
}