From 93480b10ef443dbc616a9240fe8f7456315c1940 Mon Sep 17 00:00:00 2001 From: bunnei Date: Mon, 1 Jan 2018 15:40:35 -0500 Subject: core/video_core: Fix a bunch of u64 -> u32 warnings. --- src/core/hle/kernel/memory.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/core/hle') diff --git a/src/core/hle/kernel/memory.cpp b/src/core/hle/kernel/memory.cpp index 95d3a6bf6..d990d0569 100644 --- a/src/core/hle/kernel/memory.cpp +++ b/src/core/hle/kernel/memory.cpp @@ -69,8 +69,8 @@ void MemoryInit(u32 mem_type) { // app_mem_malloc does not always match the configured size for memory_region[0]: in case the // n3DS type override is in effect it reports the size the game expects, not the real one. config_mem.app_mem_alloc = memory_region_sizes[mem_type][0]; - config_mem.sys_mem_alloc = memory_regions[1].size; - config_mem.base_mem_alloc = memory_regions[2].size; + config_mem.sys_mem_alloc = static_cast(memory_regions[1].size); + config_mem.base_mem_alloc = static_cast(memory_regions[2].size); } void MemoryShutdown() { -- cgit v1.2.3