From af52ba0b27251dd13e21b2dd91de0b5c0d87e57c Mon Sep 17 00:00:00 2001 From: angelsl Date: Sun, 14 Jan 2018 22:55:15 +0800 Subject: [PATCH] Remove over-eager const qualifier --- source/main.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source/main.cpp b/source/main.cpp index 645966b..f6c3abb 100644 --- a/source/main.cpp +++ b/source/main.cpp @@ -174,7 +174,7 @@ void ntrboot_restore_flash() { DrawString(TOP_SCREEN, 10, 20, STD_COLOR_FONT, STD_COLOR_BG, "Restoring flash"); uint8_t *flash_mem = NULL, *mem = NULL; - const char *const backuppath = backup_path(selected_flashcart->getShortName()); + char *const backuppath = backup_path(selected_flashcart->getShortName()); FILE *const f = fopen(backuppath, "rb"); if (!f) {