Merge pull request #5232 from lioncash/sign

core/memory: Resolve sign conversion in serialize()
This commit is contained in:
Pengfei Zhu 2020-04-19 08:45:44 +08:00 committed by GitHub
commit b96b7ab3f6
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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();
}
}