1
0
mirror of https://github.com/ocornut/imgui.git synced 2024-09-25 03:58:36 +02:00

Fixing 64-bit compilation warning caused by implicit size_t->int cast

This commit is contained in:
Ben Vanik 2015-06-26 18:49:45 -07:00
parent f66be0e7b2
commit 5cd1a01514

View File

@ -3192,7 +3192,7 @@ static void ClosePopup(ImGuiID id)
if (!IsPopupOpen(id))
return;
ImGuiState& g = *GImGui;
ClosePopupToLevel(g.OpenedPopupStack.size() - 1);
ClosePopupToLevel((int)g.OpenedPopupStack.size() - 1);
}
// Close the popup we have begin-ed into.