From 0a31531f44717e265646aa1d47949303d45c2d69 Mon Sep 17 00:00:00 2001 From: ocornut Date: Mon, 30 Mar 2015 21:16:24 +0100 Subject: [PATCH] Warning fix in demo code --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 48211ffd..83d5b41f 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -9502,7 +9502,7 @@ void ImGui::ShowTestWindow(bool* opened) ImGui::BeginPopup(&popup_open); ImGui::Text("Aquarium"); ImGui::Separator(); - for (size_t i = 0; i < IM_ARRAYSIZE(fishes); i++) + for (int i = 0; i < IM_ARRAYSIZE(fishes); i++) { if (ImGui::Selectable(fishes[i], false)) {