mirror of
https://github.com/Drezil/imgui.git
synced 2024-11-15 01:17:00 +00:00
Fix signed types warning in pasteboard handler (#2786)
This commit is contained in:
parent
3dcf323c35
commit
561e7dd490
@ -9689,7 +9689,7 @@ static const char* GetClipboardTextFn_DefaultImpl(void*)
|
|||||||
|
|
||||||
ItemCount item_count = 0;
|
ItemCount item_count = 0;
|
||||||
PasteboardGetItemCount(main_clipboard, &item_count);
|
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;
|
PasteboardItemID item_id = 0;
|
||||||
PasteboardGetItemIdentifier(main_clipboard, i + 1, &item_id);
|
PasteboardGetItemIdentifier(main_clipboard, i + 1, &item_id);
|
||||||
|
Loading…
Reference in New Issue
Block a user