summaryrefslogtreecommitdiffstats
path: root/src/core/hle/kernel/vm_manager.cpp
diff options
context:
space:
mode:
authorYuri Kunde Schlesner <yuriks@yuriks.net>2015-07-14 04:28:13 +0200
committerYuri Kunde Schlesner <yuriks@yuriks.net>2015-08-16 06:03:43 +0200
commit785407d06f149921dffe5a268620ae566eca9f28 (patch)
tree2a5f668ac6222965afe305c2520e1688ccdcb2cd /src/core/hle/kernel/vm_manager.cpp
parentMerge pull request #1031 from bbarenblat/master (diff)
downloadyuzu-785407d06f149921dffe5a268620ae566eca9f28.tar
yuzu-785407d06f149921dffe5a268620ae566eca9f28.tar.gz
yuzu-785407d06f149921dffe5a268620ae566eca9f28.tar.bz2
yuzu-785407d06f149921dffe5a268620ae566eca9f28.tar.lz
yuzu-785407d06f149921dffe5a268620ae566eca9f28.tar.xz
yuzu-785407d06f149921dffe5a268620ae566eca9f28.tar.zst
yuzu-785407d06f149921dffe5a268620ae566eca9f28.zip
Diffstat (limited to 'src/core/hle/kernel/vm_manager.cpp')
-rw-r--r--src/core/hle/kernel/vm_manager.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/hle/kernel/vm_manager.cpp b/src/core/hle/kernel/vm_manager.cpp
index 205cc7b53..e5e567de1 100644
--- a/src/core/hle/kernel/vm_manager.cpp
+++ b/src/core/hle/kernel/vm_manager.cpp
@@ -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());