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 | |
parent | cd786679ff702d95548f000c6cb1462979146ac5 (diff) | |
download | exchange-91969f18e4901d495331f2587e6424aad6b5216e.tar.xz |
fix #8101
m--------- | contrib/gana | 0 | ||||
m--------- | contrib/wallet-core | 0 | ||||
-rw-r--r-- | src/lib/exchange_api_csr_melt.c | 6 |
3 files changed, 3 insertions, 3 deletions
diff --git a/contrib/gana b/contrib/gana -Subproject d61977913ea9f34760bb05d75c9e8bce2bf13a3 +Subproject 0ff4edfe76be77a59d4ebff5031feb50f3ba07d diff --git a/contrib/wallet-core b/contrib/wallet-core -Subproject a17a7a51dd50e2f508b078b9aada038fe124ff9 +Subproject 496bfdc3aecbea61922bb2e0c281f5d35f934a3 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; } |