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

docking
Ben Vanik 10 years ago
parent f66be0e7b2
commit 5cd1a01514

@ -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…
Cancel
Save