commit 64122e75bd042dfb3b49de4d678fc66b10f857b2
parent f67b71738ee5a8f0cb346fb7ad7c6c15befce1f2
Author: Florian Dold <dold@taler.net>
Date: Sat, 29 Aug 2026 20:19:01 +0200
fix const correctness issue that led to compiler warnings
Diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/json/json_helper.c b/src/json/json_helper.c
@@ -1454,7 +1454,7 @@ TALER_JSON_spec_i18n_str (const char *name,
const char **strptr)
{
const char *lang = getenv ("LANG");
- char *dot;
+ const char *dot;
char *l;
struct GNUNET_JSON_Specification ret;
diff --git a/src/util/secmod_eddsa.c b/src/util/secmod_eddsa.c
@@ -780,7 +780,7 @@ parse_key (const char *filename,
size_t buf_size)
{
struct GNUNET_CRYPTO_EddsaPrivateKey priv;
- char *anchor_s;
+ const char *anchor_s;
char dummy;
unsigned long long anchor_ll;
struct GNUNET_TIME_Timestamp anchor;