mirror of
https://git.h3cjp.net/H3cJP/citra.git
synced 2024-12-29 14:46:49 +00:00
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:
parent
397bd1bb73
commit
8b22c80ba2
|
@ -144,7 +144,7 @@ private:
|
||||||
ar& pointers.refs;
|
ar& pointers.refs;
|
||||||
ar& special_regions;
|
ar& special_regions;
|
||||||
ar& attributes;
|
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();
|
pointers.raw[i] = pointers.refs[i].GetPtr();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue