commit 1925b6e26c0f68c36cd9fb32165638624021686c parent 054151c6302313e5cb1f1823d579fd2c7d9dbaef Author: Christian Grothoff <christian@grothoff.org> Date: Wed, 10 May 2023 01:13:29 +0200 -more NZL Diffstat:
| M | src/lib/merchant_api_get_templates.c | | | 2 | +- |
| M | src/lib/merchant_api_get_webhooks.c | | | 2 | +- |
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/merchant_api_get_templates.c b/src/lib/merchant_api_get_templates.c @@ -76,7 +76,7 @@ parse_templates (const json_t *ia, struct TALER_MERCHANT_TemplatesGetHandle *tgh) { unsigned int ies_len = json_array_size (ia); - struct TALER_MERCHANT_TemplateEntry ies[ies_len]; + struct TALER_MERCHANT_TemplateEntry ies[GNUNET_NZL (ies_len)]; size_t index; json_t *value; int ret; diff --git a/src/lib/merchant_api_get_webhooks.c b/src/lib/merchant_api_get_webhooks.c @@ -76,7 +76,7 @@ parse_webhooks (const json_t *ia, struct TALER_MERCHANT_WebhooksGetHandle *wgh) { unsigned int ies_len = json_array_size (ia); - struct TALER_MERCHANT_WebhookEntry ies[ies_len]; + struct TALER_MERCHANT_WebhookEntry ies[GNUNET_NZL (ies_len)]; size_t index; json_t *value; int ret;