Avoiding comparison between unsigned int and int.

This commit is contained in:
Marcello Stanisci 2020-01-17 14:33:09 +01:00
parent 7242b9b960
commit e369dcfc25
No known key found for this signature in database
GPG Key ID: 8D526861953F4C0F

View File

@ -123,7 +123,7 @@ parse_fees (json_t *fees)
json_object_foreach (fees, key, fee_array) { json_object_foreach (fees, key, fee_array) {
struct FeeMap *fe = GNUNET_new (struct FeeMap); struct FeeMap *fe = GNUNET_new (struct FeeMap);
int len; unsigned int len;
unsigned int idx; unsigned int idx;
json_t *fee; json_t *fee;
@ -222,7 +222,7 @@ handle_wire_finished (void *cls,
{ {
json_t *accounts; json_t *accounts;
json_t *fees; json_t *fees;
int num_accounts; unsigned int num_accounts;
struct FeeMap *fm; struct FeeMap *fm;
const struct TALER_EXCHANGE_Keys *key_state; const struct TALER_EXCHANGE_Keys *key_state;
struct GNUNET_JSON_Specification spec[] = { struct GNUNET_JSON_Specification spec[] = {