From c800421a3686a44dda76ea536d2b9afcce9f036c Mon Sep 17 00:00:00 2001 From: Michael Scire Date: Tue, 8 May 2018 04:43:07 -0600 Subject: [PATCH] Loader: Fix char * const correctness. --- stratosphere/loader/source/ldr_content_management.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stratosphere/loader/source/ldr_content_management.cpp b/stratosphere/loader/source/ldr_content_management.cpp index ff31a9c39..f2acf3f48 100644 --- a/stratosphere/loader/source/ldr_content_management.cpp +++ b/stratosphere/loader/source/ldr_content_management.cpp @@ -129,7 +129,7 @@ void ContentManagement::TryMountSdCard() { /* Mount SD card, if psc, bus, and pcv have been created. */ if (!g_has_initialized_fs_dev && HasCreatedTitle(0x0100000000000021) && HasCreatedTitle(0x010000000000000A) && HasCreatedTitle(0x010000000000001A)) { Handle tmp_hnd = 0; - static const char *required_active_services[] = {"pcv", "gpio", "pinmux", "psc:c"}; + static const char * const required_active_services[] = {"pcv", "gpio", "pinmux", "psc:c"}; for (unsigned int i = 0; i < sizeof(required_active_services) / sizeof(required_active_services[0]); i++) { if (R_FAILED(smGetServiceOriginal(&tmp_hnd, smEncodeName(required_active_services[i])))) { return;