diff options
author | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-06-10 13:52:40 +0200 |
---|---|---|
committer | Marcello Stanisci <marcello.stanisci@inria.fr> | 2016-06-10 13:52:40 +0200 |
commit | dafde95d85ec6feb8c2977f607617b3f33dabd26 (patch) | |
tree | 14e166e1291d90bfd9ad0502949b8c16458882f0 /src/benchmark | |
parent | 621a8172a1e48ea03cffd6f707afae7f1d4fba27 (diff) |
addressing compilation warnings
Diffstat (limited to 'src/benchmark')
-rw-r--r-- | src/benchmark/taler-exchange-benchmark.c | 4 |
1 files 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); } |