summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorbunnei <bunneidev@gmail.com>2014-12-22 06:12:43 +0100
committerbunnei <bunneidev@gmail.com>2014-12-22 06:12:43 +0100
commit2188af4a653d56fcaf59e90399beb2c355762140 (patch)
treeb9c5bf92b6cebe6ecb7de4685049afdbc54d839d /src/core/hle/service
parentMerge pull request #325 from yuriks/cmake-opts (diff)
parentMore warning cleanups (diff)
downloadyuzu-2188af4a653d56fcaf59e90399beb2c355762140.tar
yuzu-2188af4a653d56fcaf59e90399beb2c355762140.tar.gz
yuzu-2188af4a653d56fcaf59e90399beb2c355762140.tar.bz2
yuzu-2188af4a653d56fcaf59e90399beb2c355762140.tar.lz
yuzu-2188af4a653d56fcaf59e90399beb2c355762140.tar.xz
yuzu-2188af4a653d56fcaf59e90399beb2c355762140.tar.zst
yuzu-2188af4a653d56fcaf59e90399beb2c355762140.zip
Diffstat (limited to 'src/core/hle/service')
-rw-r--r--src/core/hle/service/apt_u.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/core/hle/service/apt_u.cpp b/src/core/hle/service/apt_u.cpp
index b9edf0323..fecc6e6f9 100644
--- a/src/core/hle/service/apt_u.cpp
+++ b/src/core/hle/service/apt_u.cpp
@@ -315,8 +315,8 @@ Interface::Interface() {
if (file.IsOpen()) {
// Read shared font data
- shared_font.resize(file.GetSize());
- file.ReadBytes(shared_font.data(), file.GetSize());
+ shared_font.resize((size_t)file.GetSize());
+ file.ReadBytes(shared_font.data(), (size_t)file.GetSize());
// Create shared font memory object
shared_font_mem = Kernel::CreateSharedMemory("APT_U:shared_font_mem");