mirror of
https://github.com/Drezil/imgui.git
synced 2024-12-18 06:06:35 +00:00
Merge pull request #250 from benvanik/patch-1
Fixing 64-bit compilation warning caused by implicit size_t->int cast
This commit is contained in:
commit
14f189b2f6
@ -3192,7 +3192,7 @@ static void ClosePopup(ImGuiID id)
|
|||||||
if (!IsPopupOpen(id))
|
if (!IsPopupOpen(id))
|
||||||
return;
|
return;
|
||||||
ImGuiState& g = *GImGui;
|
ImGuiState& g = *GImGui;
|
||||||
ClosePopupToLevel(g.OpenedPopupStack.size() - 1);
|
ClosePopupToLevel((int)g.OpenedPopupStack.size() - 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
// Close the popup we have begin-ed into.
|
// Close the popup we have begin-ed into.
|
||||||
|
Loading…
Reference in New Issue
Block a user