From a962a3c43fadc2718c373126776838c3cfb1c57e Mon Sep 17 00:00:00 2001 From: David Marcec Date: Mon, 5 Nov 2018 14:11:10 +1100 Subject: [PATCH] Addressed comments --- src/core/hle/kernel/svc.cpp | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/hle/kernel/svc.cpp b/src/core/hle/kernel/svc.cpp index 58b73d9c4d..7e8e87c334 100644 --- a/src/core/hle/kernel/svc.cpp +++ b/src/core/hle/kernel/svc.cpp @@ -409,11 +409,11 @@ static void Break(u32 reason, u64 info1, u64 info2) { // We don't know what's in here so we'll hexdump it std::vector debug_buffer(sz); Memory::ReadBlock(addr, debug_buffer.data(), sz); - std::string hexdump = ""; - for (auto i = 0; i < debug_buffer.size(); i++) { + std::string hexdump; + for (std::size_t i = 0; i < debug_buffer.size(); i++) { hexdump += fmt::format("{:02X} ", debug_buffer[i]); if (i != 0 && i % 16 == 0) { - hexdump += "\n"; + hexdump += '\n'; } } LOG_CRITICAL(Debug_Emulated, "debug_buffer=\n{}", hexdump);