From 43000b0434b47a72608b41d67054ba42db21b699 Mon Sep 17 00:00:00 2001 From: NIIBE Yutaka Date: Thu, 16 Jul 2020 13:35:25 +0900 Subject: [PATCH] gpg-card: Fix type of historyname. * tools/gpg-card.c (interactive_loop): Remove const qualifier. -- Fixes-commit: d70b8769c888f42896ae3ef4972bf82e9b5a0c32 Signed-off-by: NIIBE Yutaka --- tools/gpg-card.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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);