Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Jun 2020 14:11:41 +0000 (UTC)
From:      Vasil Dimov <vd@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r540394 - head/net-p2p/c-lightning/files
Message-ID:  <202006251411.05PEBfMo076876@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: vd
Date: Thu Jun 25 14:11:41 2020
New Revision: 540394
URL: https://svnweb.freebsd.org/changeset/ports/540394

Log:
  net-p2p/c-lightning: fix compilation on i386

Added:
  head/net-p2p/c-lightning/files/patch-plugins_keysend.c   (contents, props changed)

Added: head/net-p2p/c-lightning/files/patch-plugins_keysend.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/net-p2p/c-lightning/files/patch-plugins_keysend.c	Thu Jun 25 14:11:41 2020	(r540394)
@@ -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;
+ 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202006251411.05PEBfMo076876>