From 17c8c390fc84d059b89f563a8fae6936649d0d45 Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Fri, 11 Dec 2020 03:48:34 -0800 Subject: [PATCH] kern: fix building debug config --- .../libmesosphere/source/kern_k_memory_block_manager.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libraries/libmesosphere/source/kern_k_memory_block_manager.cpp b/libraries/libmesosphere/source/kern_k_memory_block_manager.cpp index 8cbbe4be7..2a45306ad 100644 --- a/libraries/libmesosphere/source/kern_k_memory_block_manager.cpp +++ b/libraries/libmesosphere/source/kern_k_memory_block_manager.cpp @@ -70,10 +70,10 @@ namespace ams::kern { } void DumpMemoryInfo(const KMemoryInfo &info) { - const char *state = GetMemoryStateName(info.state); - const char *perm = GetMemoryPermissionString(info); - const void *start = reinterpret_cast(info.GetAddress()); - const void *end = reinterpret_cast(info.GetLastAddress()); + const char *state = GetMemoryStateName(info.state); + const char *perm = GetMemoryPermissionString(info); + const uintptr_t start = info.GetAddress(); + const uintptr_t end = info.GetLastAddress(); const size_t kb = info.GetSize() / 1_KB; const char l = (info.attribute & KMemoryAttribute_Locked) ? 'L' : '-';