aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMarcello Stanisci <stanisci.m@gmail.com>2020-01-17 14:33:09 +0100
committerMarcello Stanisci <stanisci.m@gmail.com>2020-01-17 14:34:07 +0100
commite369dcfc25f1a25c59e0e6dd816397855a45d5bd (patch)
tree067a217c4601f0634199b115e5de17719c3d4510 /src/lib
parent7242b9b9607995ad7358fa59e27dd5ff6f57ca9f (diff)
Avoiding comparison between unsigned int and int.
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/exchange_api_wire.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/exchange_api_wire.c b/src/lib/exchange_api_wire.c
index 4f93618c7..9058efd62 100644
--- 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[] = {