commit e369dcfc25f1a25c59e0e6dd816397855a45d5bd
parent 7242b9b9607995ad7358fa59e27dd5ff6f57ca9f
Author: Marcello Stanisci <stanisci.m@gmail.com>
Date: Fri, 17 Jan 2020 14:33:09 +0100
Avoiding comparison between unsigned int and int.
Diffstat:
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/lib/exchange_api_wire.c b/src/lib/exchange_api_wire.c
@@ -123,7 +123,7 @@ parse_fees (json_t *fees)
json_object_foreach (fees, key, fee_array) {
struct FeeMap *fe = GNUNET_new (struct FeeMap);
- int len;
+ unsigned int len;
unsigned int idx;
json_t *fee;
@@ -222,7 +222,7 @@ handle_wire_finished (void *cls,
{
json_t *accounts;
json_t *fees;
- int num_accounts;
+ unsigned int num_accounts;
struct FeeMap *fm;
const struct TALER_EXCHANGE_Keys *key_state;
struct GNUNET_JSON_Specification spec[] = {