From 5cd1a0151461f88401e525e7c0ab9a68f3cb82a6 Mon Sep 17 00:00:00 2001 From: Ben Vanik Date: Fri, 26 Jun 2015 18:49:45 -0700 Subject: [PATCH] Fixing 64-bit compilation warning caused by implicit size_t->int cast --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index c731909ff..f2c88e4ca 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -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.