diff options
author | Christian Grothoff <christian@grothoff.org> | 2024-01-17 19:31:59 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2024-01-17 19:31:59 +0100 |
commit | 91969f18e4901d495331f2587e6424aad6b5216e (patch) | |
tree | e8effa2b18776b17d06b9d3863f6676756c8f265 /src/lib | |
parent | cd786679ff702d95548f000c6cb1462979146ac5 (diff) |
fix #8101
Diffstat (limited to 'src/lib')
-rw-r--r-- | src/lib/exchange_api_csr_melt.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/exchange_api_csr_melt.c b/src/lib/exchange_api_csr_melt.c index 1644f00a9..bf6f4bfe1 100644 --- a/src/lib/exchange_api_csr_melt.c +++ b/src/lib/exchange_api_csr_melt.c @@ -86,7 +86,7 @@ csr_ok (struct TALER_EXCHANGE_CsRMeltHandle *csrh, const json_t *arr, struct TALER_EXCHANGE_HttpResponse *hr) { - unsigned int alen = json_array_size (arr); + size_t alen = json_array_size (arr); struct TALER_ExchangeWithdrawValues alg_values[GNUNET_NZL (alen)]; struct TALER_EXCHANGE_CsRMeltResponse csrr = { .hr = *hr, @@ -94,7 +94,7 @@ csr_ok (struct TALER_EXCHANGE_CsRMeltHandle *csrh, .details.ok.alg_values = alg_values }; - for (unsigned int i = 0; i<alen; i++) + for (size_t i = 0; i<alen; i++) { json_t *av = json_array_get (arr, i); @@ -116,7 +116,7 @@ csr_ok (struct TALER_EXCHANGE_CsRMeltHandle *csrh, } csrh->cb (csrh->cb_cls, &csrr); - for (unsigned int i = 0; i<alen; i++) + for (size_t i = 0; i<alen; i++) TALER_denom_ewv_free (&alg_values[i]); return GNUNET_OK; } |