removed warnings

This commit is contained in:
Turanszki Janos
2020-11-11 00:05:52 +01:00
parent abacc054c8
commit 1d3759565e
+2 -2
View File
@@ -42,7 +42,7 @@ void TransformWindow::Create(EditorComponent* editor)
if(args.iValue != 0)
{
scene.Component_Attach(entity, args.userdata);
scene.Component_Attach(entity, (Entity)args.userdata);
}
});
@@ -244,7 +244,7 @@ void TransformWindow::SetEntity(Entity entity)
if (hier != nullptr && hier->parentID == entity)
{
parentCombo.SetSelected(parentCombo.GetItemCount() - 1);
parentCombo.SetSelected((int)parentCombo.GetItemCount() - 1);
}
}