Skip to content

Commit

Permalink
Remove over-eager const qualifier
Browse files Browse the repository at this point in the history
  • Loading branch information
angelsl committed Jan 14, 2018
1 parent 93f60c5 commit af52ba0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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) {
Expand Down

0 comments on commit af52ba0

Please sign in to comment.