Skip to content

Commit

Permalink
bcli: fix compilation on 32-bit platforms.
Browse files Browse the repository at this point in the history
Reported-by: Shahana Farooqui
Signed-off-by: Rusty Russell <[email protected]>
  • Loading branch information
rustyrussell authored and endothermicdev committed May 17, 2024
1 parent 8a2d6fa commit e03f56f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/bcli.c
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ static const char **gather_argsv(const tal_t *ctx, const char *cmd, va_list ap)
bitcoind->rpcclienttimeout = bitcoind->retry_timeout;

add_arg(&args,
tal_fmt(args, "-rpcclienttimeout=%ld", bitcoind->rpcclienttimeout));
tal_fmt(args, "-rpcclienttimeout=%"PRIu64, bitcoind->rpcclienttimeout));
}
if (bitcoind->rpcconnect)
add_arg(&args,
Expand Down

0 comments on commit e03f56f

Please sign in to comment.