diff options
author | Vasil Dimov <vd@FreeBSD.org> | 2020-06-25 14:11:41 +0000 |
---|---|---|
committer | Vasil Dimov <vd@FreeBSD.org> | 2020-06-25 14:11:41 +0000 |
commit | 40e120e325523c2c0769b1727b33a5ec3a3037e9 (patch) | |
tree | 3495fb49c590666ea10f4df1dd7ac630b0efd324 /net-p2p | |
parent | eaf362e4746ae71798a8d686651a0800fcd3ca75 (diff) | |
download | ports-40e120e325523c2c0769b1727b33a5ec3a3037e9.tar.gz ports-40e120e325523c2c0769b1727b33a5ec3a3037e9.zip |
net-p2p/c-lightning: fix compilation on i386
Notes
Notes:
svn path=/head/; revision=540394
Diffstat (limited to 'net-p2p')
-rw-r--r-- | net-p2p/c-lightning/files/patch-plugins_keysend.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/net-p2p/c-lightning/files/patch-plugins_keysend.c b/net-p2p/c-lightning/files/patch-plugins_keysend.c new file mode 100644 index 000000000000..a040c4d6a494 --- /dev/null +++ b/net-p2p/c-lightning/files/patch-plugins_keysend.c @@ -0,0 +1,11 @@ +--- plugins/keysend.c.orig 2020-06-25 14:05:27 UTC ++++ plugins/keysend.c +@@ -133,7 +133,7 @@ static struct command_result *htlc_accepted_call(struc + + ki = tal(cmd, struct keysend_in); + memcpy(&ki->payment_preimage, preimage_field->value, 32); +- ki->label = tal_fmt(ki, "keysend-%lu.%09lu", now.ts.tv_sec, now.ts.tv_nsec); ++ ki->label = tal_fmt(ki, "keysend-%lu.%09lu", (unsigned long)now.ts.tv_sec, now.ts.tv_nsec); + ki->payload = tal_steal(ki, payload); + ki->preimage_field = preimage_field; + |