From 7e00a41f1bdf61e75549a7308378c1e4fdf96fd9 Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 16 Mar 2015 18:04:51 +0000 Subject: [PATCH] Speculative warning fix --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 715fb6ce..7d65a5dc 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -9174,7 +9174,7 @@ void ImGui::ShowTestWindow(bool* opened) ImGui::SameLine(); ImGui::PushID("set2"); - for (size_t i = 0; i < 4; i++) + for (int i = 0; i < 4; i++) { if (i > 0) ImGui::SameLine(0, 4); ImGui::PushID(i);