UI: Fix some sign/size comparison warnings.

Mostly size_t vs int.
This commit is contained in:
Unknown W. Brackets committed 2022-01-06 20:40:29 -08:00
1 parent b2bb0be05d
commit a397bf811b
6 files changed
+8 -8

No files matched your search

+1 -1
View File
@@ -121,7 +121,7 @@ void CMemoryDlg::searchBoxRedraw(std::vector<u32> results) {
wchar_t temp[256]{};
SendMessage(srcListHdl, WM_SETREDRAW, FALSE, 0);
ListBox_ResetContent(srcListHdl);
for (int i = 0; i < results.size(); i++) {
for (size_t i = 0; i < results.size(); i++) {
wsprintf(temp, L"0x%08X", results[i]);
int index = (int)ListBox_AddString(srcListHdl, temp);
ListBox_SetItemData(srcListHdl, index, results[i]);