citra-emu
/
citra-canary
Archived
1
0
Fork 0

core/memory: Resolve sign conversion in serialize()

auto i = 0 deduces to an int, which was being compared with a size_t
within the loop condition.
This commit is contained in:
Lioncash 2020-04-18 18:35:59 -04:00
parent 397bd1bb73
commit 8b22c80ba2
1 changed files with 1 additions and 1 deletions

View File

@ -144,7 +144,7 @@ private:
ar& pointers.refs;
ar& special_regions;
ar& attributes;
for (auto i = 0; i < PAGE_TABLE_NUM_ENTRIES; i++) {
for (std::size_t i = 0; i < PAGE_TABLE_NUM_ENTRIES; i++) {
pointers.raw[i] = pointers.refs[i].GetPtr();
}
}