From 16004684c9a2a3ceef49482d0bd8720c289b9fcd Mon Sep 17 00:00:00 2001 From: Christian Decker Date: Tue, 6 Feb 2018 14:14:43 +0100 Subject: [PATCH] wallet: Make the linter happy about int vs size_t comparison Signed-off-by: Christian Decker --- wallet/walletrpc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/wallet/walletrpc.c b/wallet/walletrpc.c index 8f25b0d06..616b9d608 100644 --- a/wallet/walletrpc.c +++ b/wallet/walletrpc.c @@ -400,7 +400,7 @@ static void json_listfunds(struct command *cmd, const char *buffer UNUSED, wallet_get_utxos(cmd, cmd->ld->wallet, output_state_available); json_object_start(response, NULL); json_array_start(response, "outputs"); - for (int i = 0; i < tal_count(utxos); i++) { + for (size_t i = 0; i < tal_count(utxos); i++) { json_object_start(response, NULL); json_add_txid(response, "txid", &utxos[i]->txid); json_add_num(response, "output", utxos[i]->outnum);