From 5355d0885512211d3f9a00001ad73e3c87f54fc7 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 16 May 2024 09:33:24 +0200 Subject: [PATCH] card: Fix compiler warning. * tools/gpg-card.h (opt): Make gpg_program, gpgsm_program, and agent_program const. --- tools/gpg-card.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tools/gpg-card.h b/tools/gpg-card.h index 8d7975ba9..5b49ef31e 100644 --- a/tools/gpg-card.h +++ b/tools/gpg-card.h @@ -34,9 +34,9 @@ struct unsigned int debug; int quiet; int with_colons; - char *gpg_program; - char *gpgsm_program; - char *agent_program; + const char *gpg_program; + const char *gpgsm_program; + const char *agent_program; int autostart; int no_key_lookup; /* Assume --no-key-lookup for "list". */