summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLectem <lectem@gmail.com>2017-03-18 11:56:21 +0100
committerLectem <lectem@gmail.com>2017-03-18 11:56:21 +0100
commit979d2000d2d71dead2344fb7352908968ea8c039 (patch)
tree2f071d900d88c8bc787d488a4c1e101a248a9bfd
parentIPCHelper Skip method + address comments for apt (diff)
downloadyuzu-979d2000d2d71dead2344fb7352908968ea8c039.tar
yuzu-979d2000d2d71dead2344fb7352908968ea8c039.tar.gz
yuzu-979d2000d2d71dead2344fb7352908968ea8c039.tar.bz2
yuzu-979d2000d2d71dead2344fb7352908968ea8c039.tar.lz
yuzu-979d2000d2d71dead2344fb7352908968ea8c039.tar.xz
yuzu-979d2000d2d71dead2344fb7352908968ea8c039.tar.zst
yuzu-979d2000d2d71dead2344fb7352908968ea8c039.zip
-rw-r--r--src/core/hle/service/apt/apt.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/apt/apt.cpp b/src/core/hle/service/apt/apt.cpp
index 48437aa73..ac5144cd5 100644
--- a/src/core/hle/service/apt/apt.cpp
+++ b/src/core/hle/service/apt/apt.cpp
@@ -231,7 +231,7 @@ void ReceiveParameter(Service::Interface* self) {
rb.PushMoveHandles((next_parameter.object != nullptr)
? Kernel::g_handle_table.Create(next_parameter.object).MoveFrom()
: 0);
- rb.PushStaticBuffer(buffer, next_parameter.buffer.size(), 0);
+ rb.PushStaticBuffer(buffer, static_cast<u32>(next_parameter.buffer.size()), 0);
Memory::WriteBlock(buffer, next_parameter.buffer.data(), next_parameter.buffer.size());
@@ -261,7 +261,7 @@ void GlanceParameter(Service::Interface* self) {
rb.PushCopyHandles((next_parameter.object != nullptr)
? Kernel::g_handle_table.Create(next_parameter.object).MoveFrom()
: 0);
- rb.PushStaticBuffer(buffer, next_parameter.buffer.size(), 0);
+ rb.PushStaticBuffer(buffer, static_cast<u32>(next_parameter.buffer.size()), 0);
Memory::WriteBlock(buffer, next_parameter.buffer.data(), next_parameter.buffer.size());