Updated ImGui.

This commit is contained in:
Branimir Karadžić 2016-04-06 19:30:33 -07:00
parent d086b31daa
commit 70faaed2e2
1 changed files with 1 additions and 1 deletions

View File

@ -1654,7 +1654,7 @@ ImGuiWindow* ImGui::GetParentWindow()
{
ImGuiState& g = *GImGui;
IM_ASSERT(g.CurrentWindowStack.Size >= 2);
return g.CurrentWindowStack[g.CurrentWindowStack.Size - 2];
return g.CurrentWindowStack[(unsigned int)g.CurrentWindowStack.Size - 2];
}
void ImGui::SetActiveID(ImGuiID id, ImGuiWindow* window = NULL)