From 7ea0c321af3feb8f494bcccf4fea596c254f13f6 Mon Sep 17 00:00:00 2001 From: Kloen Date: Tue, 24 Jan 2017 11:10:45 +0100 Subject: [PATCH] core: mii_selector.cpp fix warning on MSVC --- src/core/hle/applets/mii_selector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/core/hle/applets/mii_selector.cpp b/src/core/hle/applets/mii_selector.cpp index 07c7f5b99..237b0bb81 100644 --- a/src/core/hle/applets/mii_selector.cpp +++ b/src/core/hle/applets/mii_selector.cpp @@ -39,7 +39,7 @@ ResultCode MiiSelector::ReceiveParameter(const Service::APT::MessageParameter& p heap_memory = std::make_shared>(capture_info.size); // Create a SharedMemory that directly points to this heap block. framebuffer_memory = Kernel::SharedMemory::CreateForApplet( - heap_memory, 0, heap_memory->size(), MemoryPermission::ReadWrite, + heap_memory, 0, static_cast(heap_memory->size()), MemoryPermission::ReadWrite, MemoryPermission::ReadWrite, "MiiSelector Memory"); // Send the response message with the newly created SharedMemory