Browse Source

Fixed warning.

Branimir Karadžić 10 years ago
parent
commit
7dd53e1d48
1 changed files with 1 additions and 1 deletions
  1. 1 1
      3rdparty/ocornut-imgui/imgui.cpp

+ 1 - 1
3rdparty/ocornut-imgui/imgui.cpp

@@ -3193,7 +3193,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.