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