aboutsummaryrefslogtreecommitdiffhomepage
path: root/src/core/hle/service/apt_u.cpp
diff options
context:
space:
mode:
authorGravatar Chin <chin.bimbo@gmail.com>2014-12-20 18:28:17 -0500
committerGravatar Chin <chin.bimbo@gmail.com>2014-12-21 10:58:55 -0500
commit0199a7d9ef26516779f73192dd41738ce4116c20 (patch)
tree1b1529ae3d9e4e8e3d47d96893571a2eeb9fa4a2 /src/core/hle/service/apt_u.cpp
parent2e5869c9395c2304cfc43a28bf734c345f845b65 (diff)
More warning cleanups
Diffstat (limited to 'src/core/hle/service/apt_u.cpp')
-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 ebfba4d8..28b2517d 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");