From 9d352ecdaf8ccf446c7e1c9706cb7329b5647f9d Mon Sep 17 00:00:00 2001 From: Jakub Jelen Date: Mon, 20 Apr 2020 18:43:01 +0200 Subject: vcard_emul_nss: Do not use const char for something changable Signed-off-by: Jakub Jelen Acked-by: Frediano Ziglio --- src/vcard_emul_nss.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/vcard_emul_nss.c b/src/vcard_emul_nss.c index a22aa41..0a86546 100644 --- a/src/vcard_emul_nss.c +++ b/src/vcard_emul_nss.c @@ -90,7 +90,7 @@ struct VCardEmulOptionsStruct { VirtualReaderOptions *vreader; int vreader_count; VCardEmulType hw_card_type; - const char *hw_type_params; + char *hw_type_params; int use_hw; }; @@ -869,7 +869,7 @@ static const VCardEmulOptions default_options = { .vreader = NULL, .vreader_count = 0, .hw_card_type = VCARD_EMUL_CAC, - .hw_type_params = "", + .hw_type_params = NULL, .use_hw = USE_HW_YES, }; -- cgit v1.2.3