aboutsummaryrefslogtreecommitdiff
path: root/src/core/loader/ncch.cpp
diff options
context:
space:
mode:
authorJonathan Hao <johnathan79717@gmail.com>2017-01-05 00:48:29 +0800
committerYuri Kunde Schlesner <yuriks@yuriks.net>2017-01-04 13:48:29 -0300
commitc18cb1b192d60499af3d68b244e86c8dd8f55200 (patch)
tree48c481884bb29dd7bde72694a6ed703bb416d7c3 /src/core/loader/ncch.cpp
parent159bcbfdbc1022da92f9006ba9acb5d7f7405604 (diff)
Fix some warnings (#2399)
Diffstat (limited to 'src/core/loader/ncch.cpp')
-rw-r--r--src/core/loader/ncch.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/loader/ncch.cpp b/src/core/loader/ncch.cpp
index a204dc3362..5df33f6d2c 100644
--- a/src/core/loader/ncch.cpp
+++ b/src/core/loader/ncch.cpp
@@ -288,7 +288,7 @@ ResultStatus AppLoader_NCCH::LoadExeFS() {
LOG_DEBUG(Loader, "Thread priority: 0x%X", priority);
LOG_DEBUG(Loader, "Resource limit category: %d", resource_limit_category);
LOG_DEBUG(Loader, "System Mode: %d",
- exheader_header.arm11_system_local_caps.system_mode);
+ static_cast<int>(exheader_header.arm11_system_local_caps.system_mode));
if (exheader_header.arm11_system_local_caps.program_id != ncch_header.program_id) {
LOG_ERROR(Loader, "ExHeader Program ID mismatch: the ROM is probably encrypted.");