Fix EMotionFX Editor tests to compile with -Wshorten-64-to-32

Signed-off-by: Chris Burel <burelc@amazon.com>
This commit is contained in:
Chris Burel
2021-06-25 17:48:11 -07:00
parent 0547a1085a
commit 5602507024
12 changed files with 30 additions and 30 deletions
@@ -75,7 +75,7 @@ namespace EMotionFX
ASSERT_TRUE(activeAnimGraph) << "An anim graph was not created with command: " << createAnimGraphCommand.c_str();
// Create a new AnimGraph Node
const AZ::u32 nodeCount = activeAnimGraph->GetNumNodes();
const size_t nodeCount = activeAnimGraph->GetNumNodes();
EXPECT_TRUE(CommandSystem::GetCommandManager()->ExecuteCommand(createNodeCommand, result)) << result.c_str();
EXPECT_EQ(activeAnimGraph->GetNumNodes(), nodeCount + 1) << "Expected one more anim graph node after running command: " << createNodeCommand.c_str();
}