diff --git a/tools/gpg-card.c b/tools/gpg-card.c index 2fcc120fb..7910a48fe 100644 --- a/tools/gpg-card.c +++ b/tools/gpg-card.c @@ -3772,7 +3772,7 @@ interactive_loop (void) card_info_t info = &info_buffer; char *p; int i; - const char *historyname = NULL; + char *historyname = NULL; /* In the interactive mode we do not want to print the program prefix. */ log_set_prefix (NULL, 0);