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
@@ -358,7 +358,7 @@ bool CwCheatScreen::RebuildCheatFile(int index) {
return false;
}
for (int i = 0; i < lines.size(); ++i) {
for (size_t i = 0; i < lines.size(); ++i) {
fprintf(out, "%s", lines[i].c_str());
if (i != lines.size() - 1)
fputc('\n', out);