VMManager: Change block offsets to size_t

This commit is contained in:
Yuri Kunde Schlesner
2015-07-13 23:28:13 -03:00
parent 2e5696dba4
commit 785407d06f
2 changed files with 3 additions and 3 deletions

View File

@ -55,7 +55,7 @@ VMManager::VMAHandle VMManager::FindVMA(VAddr target) const {
}
ResultVal<VMManager::VMAHandle> VMManager::MapMemoryBlock(VAddr target,
std::shared_ptr<std::vector<u8>> block, u32 offset, u32 size, MemoryState state) {
std::shared_ptr<std::vector<u8>> block, size_t offset, u32 size, MemoryState state) {
ASSERT(block != nullptr);
ASSERT(offset + size <= block->size());