From dafde95d85ec6feb8c2977f607617b3f33dabd26 Mon Sep 17 00:00:00 2001 From: Marcello Stanisci Date: Fri, 10 Jun 2016 13:52:40 +0200 Subject: [PATCH] addressing compilation warnings --- src/benchmark/taler-exchange-benchmark.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/benchmark/taler-exchange-benchmark.c b/src/benchmark/taler-exchange-benchmark.c index 7f234e8cd..392c221b7 100644 --- a/src/benchmark/taler-exchange-benchmark.c +++ b/src/benchmark/taler-exchange-benchmark.c @@ -666,11 +666,11 @@ build_refresh (char **list) keys = TALER_EXCHANGE_get_keys (exchange); for (i=0; list[i] != NULL; i++) { - size_t size; + unsigned int size; GNUNET_asprintf (&amount_str, "%s:%s", currency, list[i]); TALER_string_to_amount (amount_str, &amount); picked_denom = find_pk (keys, &amount); - size = (size_t) i; + size = i; GNUNET_array_append (refresh_pk, size, *picked_denom); GNUNET_free (amount_str); }