wallet: Make the linter happy about int vs size_t comparison

Signed-off-by: Christian Decker <decker.christian@gmail.com>
This commit is contained in:
Christian Decker 2018-02-06 14:14:43 +01:00
parent 8a68646395
commit 16004684c9
1 changed files with 1 additions and 1 deletions

View File

@ -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);