From 11b954b6bdbcd7beb6d9e6344e654f8c0dc6779a Mon Sep 17 00:00:00 2001 From: Philippe Teuwen Date: Sat, 26 Oct 2019 19:40:32 +0200 Subject: [PATCH] proxmark.c: warnings discarded qualifiers --- client/proxmark3.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/client/proxmark3.c b/client/proxmark3.c index 91d130fb2..c1d6a5dc7 100644 --- a/client/proxmark3.c +++ b/client/proxmark3.c @@ -151,7 +151,7 @@ main_loop(char *script_cmds_file, char *script_cmd, bool stayInCommandLoop) { // loops every time enter is pressed... while (1) { bool printprompt = false; - char *prompt = PROXPROMPT; + const char *prompt = PROXPROMPT; check_script: // If there is a script file @@ -321,7 +321,7 @@ static void set_my_executable_path(void) { } } -static char *my_user_directory = NULL; +static const char *my_user_directory = NULL; const char *get_my_user_directory(void) { return my_user_directory;