From 561e7dd49098f2d6c16a21dad7701f73f78545a3 Mon Sep 17 00:00:00 2001 From: Qix Date: Tue, 17 Sep 2019 09:21:09 +0200 Subject: [PATCH] Fix signed types warning in pasteboard handler (#2786) --- imgui.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/imgui.cpp b/imgui.cpp index 1dc4862a..c5039d63 100644 --- a/imgui.cpp +++ b/imgui.cpp @@ -9689,7 +9689,7 @@ static const char* GetClipboardTextFn_DefaultImpl(void*) ItemCount item_count = 0; PasteboardGetItemCount(main_clipboard, &item_count); - for (int i = 0; i < item_count; i++) + for (ItemCount i = 0; i < item_count; i++) { PasteboardItemID item_id = 0; PasteboardGetItemIdentifier(main_clipboard, i + 1, &item_id);