summaryrefslogtreecommitdiffstats
path: root/src/core/hle/service
diff options
context:
space:
mode:
authorChin <chin.bimbo@gmail.com>2014-12-21 00:28:17 +0100
committerChin <chin.bimbo@gmail.com>2014-12-21 16:58:55 +0100
commit0199a7d9ef26516779f73192dd41738ce4116c20 (patch)
tree1b1529ae3d9e4e8e3d47d96893571a2eeb9fa4a2 /src/core/hle/service
parentMerge pull request #316 from yuriks/thread-handle (diff)
downloadyuzu-0199a7d9ef26516779f73192dd41738ce4116c20.tar
yuzu-0199a7d9ef26516779f73192dd41738ce4116c20.tar.gz
yuzu-0199a7d9ef26516779f73192dd41738ce4116c20.tar.bz2
yuzu-0199a7d9ef26516779f73192dd41738ce4116c20.tar.lz
yuzu-0199a7d9ef26516779f73192dd41738ce4116c20.tar.xz
yuzu-0199a7d9ef26516779f73192dd41738ce4116c20.tar.zst
yuzu-0199a7d9ef26516779f73192dd41738ce4116c20.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 ebfba4d8d..28b2517d8 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");